add indext.html && app.css copy to dist in build script

This commit is contained in:
p-wojt 2022-01-13 22:09:29 +01:00
parent 9be5e6009b
commit e987aa13d7

View File

@ -1,7 +1,7 @@
{ {
"scripts": { "scripts": {
"start": "webpack-dev-server", "start": "webpack-dev-server",
"build": "webpack --config webpack.config.prod.js" "build": "webpack --config webpack.config.prod.js && cp index.html dist/index.html && cp app.css dist/app.css"
}, },
"author": { "author": {
"name": "Patryk Wojtiuk", "name": "Patryk Wojtiuk",