From 78d2abd47923ed5dcd0ee39e63db693755faf8f4 Mon Sep 17 00:00:00 2001 From: Lim Jet <57783762+daoauth@users.noreply.github.com> Date: Sun, 29 Dec 2024 21:59:30 +0900 Subject: [PATCH] add env --- .github/workflows/publish.yml | 2 ++ package.json | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8051e23..608f090 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -74,4 +74,6 @@ jobs: # Publish the extension - name: Publish + env: + SOURCE_MAP: false run: vsce publish -p ${{ secrets.VSCE_PAT }} diff --git a/package.json b/package.json index 3b710ab..ea753bf 100644 --- a/package.json +++ b/package.json @@ -130,8 +130,7 @@ "build:node": "tsc -p ./tsconfig.node.json && vite build --mode node", "build:web": "tsc -p ./tsconfig.web.json && vite build --mode web", "build:all": "npm run build:webview && npm run build:node && npm run build:web", - "set:sourcemap": "cross-env SOURCE_MAP=false", - "vscode:prepublish": "npm run set:sourcemap && npm run build:all", + "vscode:prepublish": "npm run build:all", "watch": "vite build --watch", "compile-tests": "tsc -p . --outDir out", "watch-tests": "tsc -p . -w --outDir out",