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

RFC:在 Umi 层增加 Mako 的推广 #12560

Closed
sorrycc opened this issue Jul 12, 2024 · 2 comments
Closed

RFC:在 Umi 层增加 Mako 的推广 #12560

sorrycc opened this issue Jul 12, 2024 · 2 comments
Assignees

Comments

@sorrycc
Copy link
Member

sorrycc commented Jul 12, 2024

背景

很多 Umi 同学可能还不了解或没有听说过 Mako 功能。

方案

1)针对 Umi 4 用户

if (
  1) 没开 mako 配置
  2) 不是 Bigfish
) {
  启动时打印 Mako 推广内容,黄色加粗。
}

2)针对 Umi 3 用户

if (
  1) 没有 umi-plugin-mako 依赖
  2) 没有 mako 配置
  3) 不是 Bigfish
) {
  启动时打印 Mako 推广内容,黄色加粗。
}

3)检查现在是否有 MFSU 的推广文案,如有,去掉。(我好像没找到)

Mako 推广文案。

Mako https://makojs.dev is a new fast Rust based bundler from us, which is heavily optimized for umi and much faster than webpack. Visit https://makojs.dev/docs/getting-started#bundle-with-umi for more details if you want to give it a try.
@xiaohuoni xiaohuoni self-assigned this Jul 12, 2024
@flgame
Copy link

flgame commented Jul 12, 2024

umi3 也会支持mako?

@sorrycc
Copy link
Member Author

sorrycc commented Jul 12, 2024

This was referenced Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants