PWA: Don't cache static assets in service worker #425
Can be enabled later if needed.
This commit is contained in:
parent
81629f034d
commit
871a5301f6
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ const config = {
|
|||
new OfflinePlugin({
|
||||
relativePaths: false,
|
||||
publicPath: "/",
|
||||
excludes: ["**/*.txt", "**/share.*"],
|
||||
excludes: ["**/*.txt", "**/*.css", "**/*.js", "**/*.*"],
|
||||
rewrites: function (asset) {
|
||||
return "/static/build/" + asset;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue