We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f40e128 commit b9385d9Copy full SHA for b9385d9
demo/next.config.js
@@ -3,6 +3,8 @@ const path = require('path');
3
module.exports = {
4
webpack: config => {
5
config.resolve.alias['react-live'] = path.resolve('../');
6
+ config.resolve.alias.react = path.resolve('./node_modules/react');
7
+ config.resolve.alias['react-dom'] = path.resolve('./node_modules/react-dom');
8
9
return config;
10
}
0 commit comments