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({
|
||||
clientsClaim: true,
|
||||
exclude: [/\.map$/, /asset-manifest\.json$/],
|
||||
exclude: [/\.map$/, /asset-manifest\.json$/, /index\.html$/],
|
||||
importWorkboxFrom: 'local',
|
||||
navigateFallback: 'index.html',
|
||||
navigateFallbackBlacklist: [
|
||||
|
Loading…
Reference in New Issue
Block a user