mirror of
https://github.com/zerosoul/chinese-colors.git
synced 2025-02-17 21:09:36 +08:00
fix: add root path exclude cache
This commit is contained in:
parent
4747ad43bf
commit
dc96ec4609
@ -58,7 +58,7 @@ module.exports = merge(commonConfig, {
|
||||
}),
|
||||
new GenerateSW({
|
||||
clientsClaim: true,
|
||||
exclude: [/\.map$/, /asset-manifest\.json$/, /index\.html$/],
|
||||
exclude: [/\.map$/, /asset-manifest\.json$/, /index\.html$/, /chinese-colors\/$/],
|
||||
importWorkboxFrom: 'local',
|
||||
navigateFallback: 'index.html',
|
||||
navigateFallbackBlacklist: [
|
||||
|
Loading…
Reference in New Issue
Block a user