copied bundle.js to an web reachable path

This commit is contained in:
Kevin Veen-Birkenbach 2022-12-06 23:23:20 +01:00
parent 6714e3fbcd
commit 069b0ba82a

View File

@ -1,7 +1,7 @@
{ {
"scripts": { "scripts": {
"start": "webpack-dev-server --host 0.0.0.0 --allowed-hosts all", "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": { "author": {
"name": "Patryk Wojtiuk", "name": "Patryk Wojtiuk",