Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
fix: sw
Browse files Browse the repository at this point in the history
  • Loading branch information
zerosoul committed Mar 12, 2020
1 parent e645008 commit a160e38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,8 @@ module.exports = function(webpackEnv) {
new WorkboxWebpackPlugin.GenerateSW({
clientsClaim: true,
exclude: [/\.map$/, /asset-manifest\.json$/],
importWorkboxFrom: 'cdn',
navigateFallback: paths.publicUrlOrPath + 'index.html',
navigateFallbackBlacklist: [
navigateFallbackDenylist: [
// Exclude URLs starting with /_, as they're likely an API call
new RegExp('^/_'),
// Exclude any URLs whose last part seems to be a file extension
Expand Down

0 comments on commit a160e38

Please sign in to comment.