Skip to content

Commit a6cc684

Browse files
lorefnoncmoog
authored andcommitted
Enable sourcemap generation so that we are able to debug the extension
1 parent ddadcba commit a6cc684

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@
140140
"build": "vsce package",
141141
"vscode:prepublish": "npm run compile",
142142
"compile": "npm run build:server && npm run build:webview && mkdir -p ./dist/node_modules/sql.js/dist && cp -r ./node_modules/sql.js ./dist/node_modules",
143-
"build:server": "esbuild ./src/main.ts --minify --bundle --platform=node --external:vscode --external:pg-native --outfile=./dist/index.js",
144-
"build:webview": "esbuild ./webview/main.tsx --minify --bundle --outfile=./dist/webview/main-bundle.js",
143+
"build:server": "esbuild ./src/main.ts --sourcemap --minify --bundle --platform=node --external:vscode --external:pg-native --outfile=./dist/index.js",
144+
"build:webview": "esbuild ./webview/main.tsx --sourcemap --minify --bundle --outfile=./dist/webview/main-bundle.js",
145145
"clean": "rm -rf ./dist",
146146
"lint": "eslint src --ext ts",
147147
"watch": "npm run build:server -- --watch & npm run build:webview -- --watch",

0 commit comments

Comments
 (0)