v5.0.0
v5.0
🎉 v5 is out! and it's faster! 🎉
Features
Shared modules
New convention [name].[layer]-runtime.[ext]
introduced to help share modules between among exports conditions or used as shared module to avoid duplicated instance. Check out the docs.
--no-dts
options to skip types generation--tsconfig
option to allow overriding thetsconfig.json
path
Patches & Fixes
- Faster types generation, fixed OOM issues for types generation with many entries.
- Flexible composition with the conditions, e.g. composing
development
andreact-server
- Performance improvement from upstream: rollup and SWC.
Breaking Change
- Deprecate wildcard exports
What's Changed
- refactor: modify
.prettierignore
to not ignore current test directories by @devjiwonchoi in #456 - chore: upgrade rollup to latest by @devjiwonchoi in #459
- Distribute integration test to single test files by @devjiwonchoi in #455
- refactor: modify migrated integration test format to be a guide for the upcoming works by @devjiwonchoi in #463
- Rewrite exports parser by @huozhi in #465
- feat: no-dts option by @hyoban in #458
- Add pkg json import test by @huozhi in #470
- Fix prepare handling by @huozhi in #471
- Fix output format by @huozhi in #472
- Fix: preserving directives in minification by @huozhi in #473
- fix: dedupe output files by @huozhi in #474
- Fix bunchee command execution in readme by @piotr-cz in #466
- perf: only generate declared types by @huozhi in #475
- fix: regex expression of circular dependency by @nnecec in #476
- feat: custom shared module by @huozhi in #480
- test: refactor test directory by @huozhi in #481
- subpath imports by @huozhi in #482
- feat: shared modules and docs by @huozhi in #483
- test: migrate integration tests by @huozhi in #484
- feat: allow overrding tsconfig path by @juliusmarminge in #489
- docs: update docs from #489 by @juliusmarminge in #490
- chore: replace
tsx
with swc by @SukkaW in #487 - hide non entry chunks by @huozhi in #494
- refactor: rollup jobs by @huozhi in #495
- fix: memory overflow issue by @huozhi in #497
- refactor: replace
rimraf
by @SukkaW in #498 - fix memoize util causing cache mismatch by @huozhi in #499
New Contributors
- @piotr-cz made their first contribution in #466
- @juliusmarminge made their first contribution in #489
- @SukkaW made their first contribution in #487
Full Changelog: v4.4.8...v5.0.0