Ajout option forçant le mode production lors de la compilation.

This commit is contained in:
Fabrice PENHOËT 2022-02-14 15:51:10 +01:00
parent 388bbc5283
commit df9aff1724
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack", "build": "webpack --mode production",
"start": "webpack serve --no-live-reload" "start": "webpack serve --no-live-reload"
}, },
"repository": { "repository": {