add static directory in build run

This commit is contained in:
p-wojt 2022-01-13 22:16:43 +01:00
parent e987aa13d7
commit 99d4d14235
1 changed files with 1 additions and 1 deletions

View File

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