Skip to content

Commit ce5a2e4

Browse files
committedSep 27, 2018
Adjust regex fed to RegExp
facebook#4169 (comment)
1 parent 3b71621 commit ce5a2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/react-scripts/config/webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ module.exports = {
499499
new RegExp('^/_'),
500500
// Exclude URLs containing a dot, as they're likely a resource in
501501
// public/ and not a SPA route
502-
new RegExp('/[^/]+[.][^/]+$'),
502+
new RegExp('/[^/]+\\.[^/]+$'),
503503
],
504504
}),
505505
],

0 commit comments

Comments
 (0)
Please sign in to comment.