From f59af9630caaf0e320a944455ba9d41ae3a6eeeb Mon Sep 17 00:00:00 2001 From: Ade Viankakrisna Fadlil Date: Tue, 27 Jun 2017 20:05:15 +0700 Subject: [PATCH] turn on ascii_only for issue with emoji and regex (#2596) --- packages/react-scripts/config/webpack.config.prod.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index 629904297bc..7b9872c6da9 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -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, }),