forked from mirror/chinese-colors
build: exclude index.html cache
This commit is contained in:
parent
ce51554524
commit
4747ad43bf
@ -58,7 +58,7 @@ module.exports = merge(commonConfig, {
|
|||||||
}),
|
}),
|
||||||
new GenerateSW({
|
new GenerateSW({
|
||||||
clientsClaim: true,
|
clientsClaim: true,
|
||||||
exclude: [/\.map$/, /asset-manifest\.json$/],
|
exclude: [/\.map$/, /asset-manifest\.json$/, /index\.html$/],
|
||||||
importWorkboxFrom: 'local',
|
importWorkboxFrom: 'local',
|
||||||
navigateFallback: 'index.html',
|
navigateFallback: 'index.html',
|
||||||
navigateFallbackBlacklist: [
|
navigateFallbackBlacklist: [
|
||||||
|
Loading…
Reference in New Issue
Block a user