From 12e4d1826b15255a521d06a227f02d5a825271a2 Mon Sep 17 00:00:00 2001 From: Jason Hyde Date: Wed, 7 Feb 2024 02:52:50 +0100 Subject: [PATCH] [conf] fix swc build breaking bug https://github.com/swc-project/cli/issues/281 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 50a9270..7c2f785 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ ], "scripts": { "build": "run-p build:*", - "build:swc": "swc ./source -d ./build", + "build:swc": "swc ./source -d ./build --strip-leading-paths", "build:types": "tsc --project tsconfig.build.json", "check": "run-p check:*", "check:code": "eslint . --ext .ts --report-unused-disable-directives --max-warnings 0",