updated staticFiles configuration
This commit is contained in:
parent
a036d12a7f
commit
02d3f33f4d
11
package.json
11
package.json
@ -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/",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user