Skip to content

Commit 1945bc6

Browse files
authored
[SW] Don't invoke skipWaiting
This fixes the issue where lazy-loaded splitted chunks fail because the SW has been updated and the previous URLs are now 404's.
1 parent e8e83a9 commit 1945bc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/webpack/webpack-client-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ function isProd(config) {
152152
navigateFallback: 'index.html',
153153
navigateFallbackWhitelist: [/^(?!\/__).*/],
154154
minify: true,
155+
skipWaiting: false,
155156
stripPrefix: config.cwd,
156157
staticFileGlobsIgnorePatterns: [
157158
/polyfills(\..*)?\.js$/,

0 commit comments

Comments
 (0)