umijs/babel-plugin-import
Modularly import plugin for babel. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3940
- days_rel: n/a
- days_push: 861
- n_releases_24m: 0
Adoption not part of the score
3147 stars · 393 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Babel plugin that transforms named imports from libraries like antd, lodash, and material-ui into modular per-component imports, enabling on-demand loading and smaller bundles. It can also inject corresponding style imports automatically.
Use cases
- reduce bundle size by importing only used antd components
- automatically import component styles with babel
- convert named imports to modular requires for lodash
- on-demand loading for material-ui components
- configure modular import paths for any library
When to choose
- you use antd, antd-mobile, lodash, or material-ui with Babel and want smaller bundles
- you need automatic style injection alongside modular imports
When to avoid
- your bundler already supports tree-shaking of ES modules
- you use modern build tools with built-in import optimization
- you need Babel 7+ multi-library config in a single plugin entry
Facets
plugin · maturity maintenance
build-tool developer-tools frontend web-development developer-tools babel-plugin tree-shaking modular-import antd on-demand-import nodejs javascript
1 source
- readme: https://github.com/umijs/babel-plugin-import · fetched 2026-08-28 · aad8d893e402
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| umijs/babel-plugin-import | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="umijs/babel-plugin-import")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem