Skip to content

Commit

Permalink
update site
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWangJustToDo committed Apr 1, 2024
1 parent 5aa45f3 commit 1b5836c
Show file tree
Hide file tree
Showing 8 changed files with 259 additions and 128 deletions.
2 changes: 1 addition & 1 deletion packages/myreact-refresh-tools/withNext.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = function withNext(nextConfig = {}) {

// Install webpack aliases:
const aliases = config.resolve.alias || (config.resolve.alias = {});
aliases.react = "@my-react/react";
aliases["react$"] = "@my-react/react";
aliases["react-dom$"] = "@my-react/react-dom";

return config;
Expand Down
Loading

0 comments on commit 1b5836c

Please sign in to comment.