mirror of
https://github.com/placeAtlas/atlas.git
synced 2025-01-14 06:14:26 +01:00
Utilize parcelIgnore better
This commit is contained in:
parent
0dfbe7d0c7
commit
19c2b5ca03
1 changed files with 2 additions and 4 deletions
|
@ -12,15 +12,13 @@
|
|||
},
|
||||
"parcel-namer-rewrite": {
|
||||
"rules": {
|
||||
"^(icon-.+)\\.(svg|png|gif|jpg|jpeg)": "_img/pwa/$1.$2",
|
||||
"^(screenshot-.+)\\.(svg|png|gif|jpg|jpeg)": "_img/pwa/$1.$2",
|
||||
"(.*)\\.(svg|png|gif|jpg|jpeg)": "_img/$1.$2",
|
||||
"(.*)\\.(css|woff2?)": "_css/$1{.hash}.$2",
|
||||
"(.*)\\.(js)": "_js/$1{.hash}.$2"
|
||||
}
|
||||
},
|
||||
"parcelIgnore": [
|
||||
"sw.js"
|
||||
"sw.js",
|
||||
"_img/.+"
|
||||
],
|
||||
"browserslist": [
|
||||
">= 0.5%",
|
||||
|
|
Loading…
Reference in a new issue