From f5ce6172ccf0793622e243b0a75cd1863cb8da80 Mon Sep 17 00:00:00 2001 From: lucsomers Date: Tue, 30 Jan 2024 14:23:38 +0100 Subject: [PATCH] Changed compile to esbuild base --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2bf165c..0880705 100644 --- a/package.json +++ b/package.json @@ -162,12 +162,12 @@ } }, "scripts": { - "vscode:prepublish": "npm run compile", + "vscode:prepublish": "npm run esbuild-base -- --minify", "compile": "tsc -p ./", "test-compile": "tsc -p ./", "watch": "tsc -watch -p ./", "package": "npm run esbuild-base -- --minify", - "publish": "npm run esbuild-base -- --minify", + "publish": "", "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node", "esbuild": "npm run esbuild-base -- --sourcemap", "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch"