Skip to content

Commit e34deb7

Browse files
authored
fix: tweak minify options to avoid wrong hydration (#103)
1 parent be49ba3 commit e34deb7

File tree

1 file changed

+0
-2
lines changed
  • packages/react-pages/src/node/static-site-generation

1 file changed

+0
-2
lines changed

packages/react-pages/src/node/static-site-generation/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import { CLIENT_PATH } from '../constants'
1010
import type { SSRPlugin } from '../../../clientTypes'
1111

1212
const minifyOptions = {
13-
collapseWhitespace: true,
1413
keepClosingSlash: true,
15-
removeComments: true,
1614
removeRedundantAttributes: true,
1715
removeStyleLinkTypeAttributes: true,
1816
useShortDoctype: true,

0 commit comments

Comments
 (0)