mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-05-21 21:54:18 +02:00
Yeah I will be stuck on this forever.
This commit is contained in:
parent
4692e67a4c
commit
8def5674c3
|
@ -12,13 +12,15 @@
|
|||
"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": [
|
||||
"pwabuilder-sw-register.js"
|
||||
"pwabuilder-sw-register.js",
|
||||
"pwabuilder-sw.js"
|
||||
],
|
||||
"browserslist": [
|
||||
">= 0.5%",
|
||||
|
|
|
@ -6,7 +6,6 @@ if (process.env.NODE_ENV === "production") {
|
|||
plugins.push(
|
||||
purgecss({
|
||||
content: [
|
||||
'./dist-temp/*.js',
|
||||
'./dist-temp/*.html',
|
||||
'./dist-temp/**/*.html',
|
||||
'./dist-temp/**/*.js',
|
||||
|
|
Loading…
Reference in a new issue