Made npm build create output dir if non existant

This commit is contained in:
Emily Doherty 2022-11-26 01:32:49 -08:00
parent 365be630b4
commit dccb4e085b

View File

@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/" "build": "webpack && mkdir 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",