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

This commit is contained in:
Fabrice PENHOËT 2022-02-14 15:10:17 +01:00
parent d7e9ec4dbe
commit c00ddb007b

View File

@ -5,7 +5,7 @@
"main": "./src/vCarousel.ts", "main": "./src/vCarousel.ts",
"scripts": { "scripts": {
"test": "karma start", "test": "karma start",
"build": "webpack", "build": "webpack --mode production",
"start": "webpack-dev-server" "start": "webpack-dev-server"
}, },
"repository": { "repository": {