Skip to content

Commit e9f0725

Browse files
authored
build(webpack): don't remove comments in HTML file (#43)
1 parent 90cbcb2 commit e9f0725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ module.exports = function (webpackEnv) {
679679
isEnvProduction
680680
? {
681681
minify: {
682-
removeComments: true,
682+
removeComments: false,
683683
collapseWhitespace: true,
684684
removeRedundantAttributes: true,
685685
useShortDoctype: true,

0 commit comments

Comments
 (0)