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": "^2.8.3",
"parcel-reporter-static-files-copy": "^1.5.0" "parcel-reporter-static-files-copy": "^1.5.0"
}, },
"staticFiles": { "staticFiles": [
"staticPath": "src/img" {
"staticPath": "src/img/zzz.png"
}, },
{
"staticPath": "src/img/cross.png"
}
],
"scripts": { "scripts": {
"start": "npx parcel serve src/index.html --public-url / --dist-dir dist", "start": "npx parcel serve src/index.html --public-url / --dist-dir dist",
"prebuild": "rm -rf dist/", "prebuild": "rm -rf dist/",