turn on ascii_only for issue with emoji and regex (#2596)

This commit is contained in:
Ade Viankakrisna Fadlil
2017-06-27 20:05:15 +07:00
committed by Dan Abramov
parent 7a0fb4c62b
commit 41f2013260

View File

@@ -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,
}),