Correct build rule to include production mode

Not that it wasn't building in production before, but this means it no longer warns it's using the default values
This commit is contained in:
Emily Doherty 2023-03-04 15:48:02 -08:00
parent 25e9353f22
commit 4ce5481fd0

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/",
"build": "webpack --mode production && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/",
"build-dev": "webpack --mode development && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/"
},
"devDependencies": {