updated staticFiles configuration

This commit is contained in:
Tobias 2023-08-28 23:17:48 +02:00
parent a036d12a7f
commit 02d3f33f4d

View File

@ -24,9 +24,14 @@
"parcel": "^2.8.3",
"parcel-reporter-static-files-copy": "^1.5.0"
},
"staticFiles": {
"staticPath": "src/img"
"staticFiles": [
{
"staticPath": "src/img/zzz.png"
},
{
"staticPath": "src/img/cross.png"
}
],
"scripts": {
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
"prebuild": "rm -rf dist/",