Skip to content

Commit

Permalink
[SW] Don't invoke skipWaiting
Browse files Browse the repository at this point in the history
This fixes the issue where lazy-loaded splitted chunks fail because the SW has been updated and the previous URLs are now 404's.
  • Loading branch information
developit authored Jan 8, 2019
1 parent e8e83a9 commit 1945bc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/webpack/webpack-client-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ function isProd(config) {
navigateFallback: 'index.html',
navigateFallbackWhitelist: [/^(?!\/__).*/],
minify: true,
skipWaiting: false,
stripPrefix: config.cwd,
staticFileGlobsIgnorePatterns: [
/polyfills(\..*)?\.js$/,
Expand Down

0 comments on commit 1945bc6

Please sign in to comment.