Skip to content

Commit

Permalink
build(webpack): don't remove comments in HTML file (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
glowcloud authored Jun 12, 2024
1 parent 90cbcb2 commit e9f0725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ module.exports = function (webpackEnv) {
isEnvProduction
? {
minify: {
removeComments: true,
removeComments: false,
collapseWhitespace: true,
removeRedundantAttributes: true,
useShortDoctype: true,
Expand Down

0 comments on commit e9f0725

Please sign in to comment.