Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ea6196

Browse files
committed
Fix react-md example
1 parent 9754395 commit 2ea6196

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/with-react-md/next.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
webpack: function (config) {
3+
if (config.resolve.alias) {
4+
delete config.resolve.alias['react']
5+
delete config.resolve.alias['react-dom']
6+
}
7+
return config
8+
}
9+
}

0 commit comments

Comments
 (0)