Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f59af96

Browse files
viankakrisnamorgs32
authored andcommittedSep 1, 2017
turn on ascii_only for issue with emoji and regex (facebook#2596)
1 parent 1430d1c commit f59af96

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

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

+3
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@ module.exports = {
290290
},
291291
output: {
292292
comments: false,
293+
// Turned on because emoji and regex is not minified properly using default
294+
// https://github.com/facebookincubator/create-react-app/issues/2488
295+
ascii_only: true,
293296
},
294297
sourceMap: true,
295298
}),

0 commit comments

Comments
 (0)
Please sign in to comment.