Skip to content

Commit 70b3110

Browse files
authored
Use Workbox CDN as default (#5180)
1 parent ac214e3 commit 70b3110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/react-scripts/config/webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ module.exports = {
492492
new WorkboxWebpackPlugin.GenerateSW({
493493
clientsClaim: true,
494494
exclude: [/\.map$/, /asset-manifest\.json$/],
495-
importWorkboxFrom: 'local',
495+
importWorkboxFrom: 'cdn',
496496
navigateFallback: publicUrl + '/index.html',
497497
navigateFallbackBlacklist: [
498498
// Exclude URLs starting with /_, as they're likely an API call

0 commit comments

Comments
 (0)