PWA: Don't cache static assets in service worker #425

Can be enabled later if needed.
This commit is contained in:
Michael Mayer 2021-07-13 23:07:02 +02:00
parent 81629f034d
commit 871a5301f6

View file

@ -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;
},