Skip to content

Commit

Permalink
fix: problem with hooks usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Santos committed Apr 22, 2020
1 parent cc4bd85 commit 4e52663
Show file tree
Hide file tree
Showing 3 changed files with 12,783 additions and 135 deletions.
3 changes: 3 additions & 0 deletions demo/next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/* eslint-disable import/no-commonjs */
const path = require('path');

module.exports = {
webpack: (config) => {
config.resolve.symlinks = false;
config.resolve.alias.react = path.join(__dirname, '../node_modules/react');
config.resolve.alias['react-dom'] = path.join(__dirname, '../node_modules/react-dom');

return config;
},
Expand Down
Loading

0 comments on commit 4e52663

Please sign in to comment.