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: umd support mako bundler #750

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

feat: umd support mako bundler #750

wants to merge 7 commits into from

Conversation

xiaohuoni
Copy link
Member

@xiaohuoni xiaohuoni commented Apr 7, 2024

配置变化

.fatherrc.ts 新增 umd: { bundler: 'webpack' | 'mako' } 的配置项做切换

环境变量

OKAM=@alipay/umi-bundler-okam 指定 mako bundler

examples/mako

➜  mako git:(mako) ✗ pnpm build

> @ build /father/examples/mako
> OKAM=@alipay/umi-bundler-okam father build

info  - @local
info  - Clean output directories
Building with mako for production...
15 modules transformed in 79ms.
basic optimize in 0ms.
dist/index.min.js       145.61 kB │ map: 351.90 kB
✓ Built in 211ms
Complete!

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

Successfully merging this pull request may close these issues.

None yet

2 participants