Skip to content

Commit

Permalink
turn on ascii_only for issue with emoji and regex (#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
viankakrisna authored and gaearon committed Jun 27, 2017
1 parent 7a0fb4c commit 41f2013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ module.exports = {
},
output: {
comments: false,
// Turned on because emoji and regex is not minified properly using default
// https://github.com/facebookincubator/create-react-app/issues/2488
ascii_only: true,
},
sourceMap: true,
}),
Expand Down

0 comments on commit 41f2013

Please sign in to comment.