copied bundle.js to an web reachable path

This commit is contained in:
2022-12-06 23:23:20 +01:00
parent 6714e3fbcd
commit c052b17121

View File

@@ -1,7 +1,7 @@
{
"scripts": {
"start": "webpack-dev-server --host 0.0.0.0 --allowed-hosts all",
"build": "webpack --config webpack.config.prod.js && cp *.html dist/ && cp *.css dist/ && cp -r static dist/static && cp *.ico dist/"
"build": "webpack --config webpack.config.prod.js && cp *.html dist/ && cp *.css dist/ && cp -r static dist/static && cp *.ico dist/ && cp -r dist/scripts scripts"
},
"author": {
"name": "Patryk Wojtiuk",