Skip to content

Commit

Permalink
fixup webpack resolution for demo site
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdriver committed Jun 27, 2021
1 parent f40e128 commit b9385d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/next.config.js
Expand Up @@ -3,6 +3,8 @@ const path = require('path');
module.exports = {
webpack: config => {
config.resolve.alias['react-live'] = path.resolve('../');
config.resolve.alias.react = path.resolve('./node_modules/react');
config.resolve.alias['react-dom'] = path.resolve('./node_modules/react-dom');

return config;
}
Expand Down

0 comments on commit b9385d9

Please sign in to comment.