Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update to umi4 and React 18 #379

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Aarebecca
Copy link
Collaborator

变动

  • 路由配置调整 (.umirc.routes)
  • 移除 react-router-dom
  • 写法调整,详见
  • 移除 document.ejs 模版,置入 .umirc

现状

  • 开发方式没有差异
  • 关闭 MFSU

开启 MFSU 后的问题

  • 项目可以正常启动,不过没办法在更新子包后触发 gi-site 更新
  • 设置 monorepoRedirect 后会导致项目无法编译,需要设置 .npmrc.public-hoist-pattern[] 属性(提升项目依赖到根目录)。 但仍无法正常编译,出现 d3 相关问题,遂罢

其他

  • 不要接触 umi,会变得不幸
  • 相信后人的智慧(接下摊子,解决 MFSU 的问题)

@github-actions
Copy link

github-actions bot commented Jun 21, 2023

你好, @Aarebecca CI 执行失败, 请点击 [Details] 按钮查看, 并根据日志修复

Hello, @Aarebecca CI run failed, please click the [Details] button for detailed log information and fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant