Skip to content

Commit

Permalink
Adjust regex fed to RegExp
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Sep 27, 2018
1 parent 3b71621 commit ce5a2e4
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 @@ -499,7 +499,7 @@ module.exports = {
new RegExp('^/_'),
// Exclude URLs containing a dot, as they're likely a resource in
// public/ and not a SPA route
new RegExp('/[^/]+[.][^/]+$'),
new RegExp('/[^/]+\\.[^/]+$'),
],
}),
],
Expand Down

0 comments on commit ce5a2e4

Please sign in to comment.