Added devel webpack build job

This commit is contained in:
Emily Doherty 2023-02-09 00:16:27 -08:00
parent b92f24739b
commit e0b6ea9f8e

View File

@ -4,7 +4,8 @@
"private": true, "private": true,
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "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 && 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": { "devDependencies": {
"webpack": "^5.73.0", "webpack": "^5.73.0",