From f035da2969b45ab9b1810fc2b93be9798ccf8069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 1 Apr 2024 12:10:31 +0900 Subject: [PATCH] fix(cli): Fix prepublish script (#35) --- packages/cli/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 92c1f5a..6fe81f8 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,14 +1,14 @@ { "name": "@swc/cli", - "version": "0.3.11", + "version": "0.3.12", "description": "CLI for the swc project", "main": "lib/swc/index.js", "scripts": { "prepublishOnly": "pnpm build", "types": "tsc", "types:watch": "tsc --watch", - "build": "swc src -d lib --ignore '**/*.test.ts' --ignore '**/__mocks__/**'", - "build:watch": "swc src -d lib --watch --ignore '**/*.test.ts' --ignore '**/__mocks__/**'", + "build": "swc src --strip-leading-paths -d lib --ignore '**/*.test.ts' --ignore '**/__mocks__/**'", + "build:watch": "swc src --strip-leading-paths -d lib --watch --ignore '**/*.test.ts' --ignore '**/__mocks__/**'", "format:src": "prettier --write src", "format:examples": "prettier --write examples", "format": "pnpm format:src && pnpm format:examples",