From 528d067c0e2355085f8a18ce63d62dc9f5e759ee Mon Sep 17 00:00:00 2001 From: faiz-gear <70053309+faiz-gear@users.noreply.github.com> Date: Wed, 24 Apr 2024 15:12:35 +0000 Subject: [PATCH] fix: dist directory structure error --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d84142e4..41898b3c 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "generate": "prisma generate", "clean": "rm -rf dist", "type-check": "tsc", - "build": "npm run clean && swc src --out-dir dist --extensions '.ts'", + "build": "npm run clean && swc src --out-dir dist --strip-leading-paths --extensions '.ts'", "test": "jest src", "lint": "eslint --ext .ts \"src/**/*.ts\"", "lint:fix": "npm run lint -- --fix"