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({
|
new OfflinePlugin({
|
||||||
relativePaths: false,
|
relativePaths: false,
|
||||||
publicPath: "/",
|
publicPath: "/",
|
||||||
excludes: ["**/*.txt", "**/share.*"],
|
excludes: ["**/*.txt", "**/*.css", "**/*.js", "**/*.*"],
|
||||||
rewrites: function (asset) {
|
rewrites: function (asset) {
|
||||||
return "/static/build/" + asset;
|
return "/static/build/" + asset;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue