Skip to content

Commit

Permalink
Use Workbox CDN as default (#5180)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Sep 30, 2018
1 parent ac214e3 commit 70b3110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ module.exports = {
new WorkboxWebpackPlugin.GenerateSW({
clientsClaim: true,
exclude: [/\.map$/, /asset-manifest\.json$/],
importWorkboxFrom: 'local',
importWorkboxFrom: 'cdn',
navigateFallback: publicUrl + '/index.html',
navigateFallbackBlacklist: [
// Exclude URLs starting with /_, as they're likely an API call
Expand Down

0 comments on commit 70b3110

Please sign in to comment.