Skip to content

Commit

Permalink
Adding --sourcemap and ignores.
Browse files Browse the repository at this point in the history
It does create the sourcemap in out/extension.js.map but does not include it in the vsix.
  • Loading branch information
dbreese committed Jun 28, 2023
1 parent b60ef7e commit 162392f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ node_modules
coverage/
.nyc_output/
.DS_Store
extension
4 changes: 3 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ CODEOWNERS
RELEASE.md
coverage/
.nyc_output/
.github
.github
out/
!out/extension.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"test-coverage": "node ./out/test/runTest.js --coverage",
"prettier:write": "prettier --write \"src/**/*.{ts, js}\"",
"prettier:verify": "prettier --list-different \"src/**/*.{ts, js}\"",
"bundle:extension": "esbuild ./src/extension.ts --bundle --outdir=out --format=cjs --target=es2020 --platform=node --external:vscode --external:@salesforce/core --external:@salesforce/lwc-dev-mobile-core --external:@salesforce/sf-plugins-core --minify",
"bundle:extension": "esbuild ./src/extension.ts --bundle --outdir=out --format=cjs --target=es2020 --platform=node --external:vscode --external:@oclif/core --minify --sourcemap",
"vscode:prepublish": "npm run clean && npm run bundle:extension && npm prune --omit=dev"
},
"devDependencies": {
Expand Down

0 comments on commit 162392f

Please sign in to comment.