Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 41f2013

Browse files
viankakrisnagaearon
authored andcommitted
turn on ascii_only for issue with emoji and regex (#2596)
1 parent 7a0fb4c commit 41f2013

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)