Skip to content

Commit b080d73

Browse files
committed
Test react on the client
We expect this to throw a lot of hydration errors in the console
1 parent 4b34eb5 commit b080d73

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dotcom-rendering/webpack/webpack.config.client.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ module.exports = ({ build }) => ({
140140
],
141141
},
142142
resolve: {
143-
alias: {
144-
react: 'preact/compat',
145-
'react-dom/test-utils': 'preact/test-utils',
146-
'react-dom': 'preact/compat',
147-
},
143+
// alias: {
144+
// react: 'preact/compat',
145+
// 'react-dom/test-utils': 'preact/test-utils',
146+
// 'react-dom': 'preact/compat',
147+
// },
148148
},
149149
});
150150

0 commit comments

Comments
 (0)