Don't run Webpack in watch mode during prepublish
The `package-web` script is executed as part of `vscode:prepublish`. Including the `--watch` argument means the extension cannot be packaged because webpack does not terminate. That argument is already provided with the `watch-web` script.
This commit is contained in:
Родитель
d08e87c66c
Коммит
f2161b0606
|
@ -46,7 +46,7 @@
|
|||
"watch": "webpack --watch --info-verbosity verbose --config ./build/node-extension.webpack.config.js",
|
||||
"compile-web": "webpack --config ./build/web-extension.webpack.config.js",
|
||||
"watch-web": "webpack --watch --info-verbosity verbose --config ./build/web-extension.webpack.config.js",
|
||||
"package-web": "webpack --mode production --watch --config ./build/web-extension.webpack.config.js",
|
||||
"package-web": "webpack --mode production --config ./build/web-extension.webpack.config.js",
|
||||
"lint": "tslint -p ./"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче