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:
Miro Spönemann 2021-01-15 11:31:29 +01:00 коммит произвёл GitHub
Родитель d08e87c66c
Коммит f2161b0606
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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": {