Skip to content

Commit 0cc4fef

Browse files
authored
Disable a micro-option in uglify that appears to be buggy
See facebook#2376
1 parent fbaeff2 commit 0cc4fef

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
@@ -259,6 +259,9 @@ module.exports = {
259259
// Generates an `index.html` file with the <script> injected.
260260
new HtmlWebpackPlugin({
261261
inject: true,
262+
compress: {
263+
comparisons: false
264+
},
262265
template: paths.appHtml,
263266
minify: {
264267
removeComments: true,

0 commit comments

Comments
 (0)