Skip to content

Commit f59af96

Browse files
viankakrisnamorgs32
authored andcommitted
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

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

Lines changed: 3 additions & 0 deletions
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)