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",