Skip to content

Commit

Permalink
prepublish with webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
nchursin committed Aug 16, 2020
1 parent 7e66f0d commit 4e14725
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ node_modules
.vscode-test
bin/pmd.zip
pmd-packager/target
*.vsix
dist/
6 changes: 6 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ tsconfig.json
vsc-extension-quickstart.md
.sfdx
pmd-packager/**
.github
bin/update.sh
images/apex-pmd.gif
webpack.config.js
*.log
.sfdx
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
Expand Down Expand Up @@ -174,7 +174,7 @@
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"vscode:prepublish": "webpack --mode production",
"compile": "tsc -p ./",
"lint": "tslint -p ./",
"watch": "tsc -watch -p ./",
Expand Down

0 comments on commit 4e14725

Please sign in to comment.