Skip to content

Commit b3b1575

Browse files
committed
Ensure test suite uses one copy of React
1 parent 8648f43 commit b3b1575

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ module.exports = {
1919
filename: '[name].[chunkhash:8].js',
2020
},
2121
resolve: {
22+
alias: {
23+
react: require.resolve('react'),
24+
'react-dom': require.resolve('react-dom'),
25+
},
2226
extensions: ['.js', '.jsx'],
2327
},
2428
module: {

0 commit comments

Comments
 (0)