Releases: unjs/unbuild
Releases Β· unjs/unbuild
v3.2.0
v3.1.0
π Enhancements
- Support parallel builds (af19b1b)
- Infer externals from package
name
,exports
, andimports
fields (#469) - rollup: Resolve with
"production"
condition by default (#470, #471)
π©Ή Fixes
- Resolve presets with default export (#465)
π‘ Chore
- Remove unused imports (#463)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- Christian Preston (@cpreston321)
- Sunny (@Sunny-117)
v3.0.1
π©Ή Fixes
- rollup: De-default default export from stub (#455)
β€οΈ Contributors
- Daniel Roe (@danielroe)
v3.0.0
What is coming next?
In parallel with maintaining stable releases of unbuild, We are experimenting with a new, faster, and more modern approach based on OXC, rolldown, and native runtime ESM/TypeScript made possible with recent Node.js versions!
Changelog
β οΈ Breaking Changes
π Enhancements
- Upgrade to rollup v4 (#327)
- Support disabling
preserveDynamicImports
(#322) - rollup: Default to
esnext
build target (#335) - Support
copy
builder (#389) - Experimental active watcher for rollup (#364)
- rollup: Add
.mts
and.cts
to supported extensions (633ffe9) - Support custom jiti plugins for stub mode (#368)
- Upgrade to jiti v2 (#409)
- Add
--config
to the CLI (#440)
π©Ή Fixes
- Don't clean root directory if set as
outDir
(#343) - Generate stub types of with explicit extension import if pkg type is module (#371)
- Correct dts generation for stub mode (#314)
- rollup: Handle aliases when checking for externals (#384)
- rollup: Update
importAttributesKey
towith
(27bcba8) - Type
RollupOptions.plugins
as array (62fa930) - Add all loader extensions to esbuild include (8ab22ff)
- Enable jiti
interopDefault
for config loader and internals (ref: #409) (#409) - rollup: Keep empty (type-only) modules (a9158e2)
- rollup: Keep empty type-only modules (7a6469b)
- untyped: Use custom jiti instance (00ded57)
- Normalize resolved path (2640083)
- stub: Enable
interopDefault
by default (8e6f7e4) - config: Only take default export (fefafec)
- Update to jiti 2.3 (9147c3e)
- Untyped declaration output is optional (5820182)
- untyped: Use schema module default export if is the only export (cc26726)
π Refactors
- Use
jiti.import
for esm stubs and improve templates (#300) - Overhaul builders structure (#410)
- Add explicit return types (#412)
- Use colors from
consola/utils
(6a8f36d) - Replace
globby
w/fast-glob
(#418) - Replace
fast
-glob withtinyglobby
(#426)
π Documentation
- Update jsdocs for
inferEntries
(#310) - Add more jsdocs (#363)
- Add examples (#334)
- Fix typo (#414)
- Add more usage info (#401)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- ιΏθ Cai [email protected]
- JoaquΓn SΓ‘nchez (@userquin)
- Superchupu (@SuperchupuDev)
- @beer
- Sukka [email protected]
- S3xysteak (@s3xysteak)
- Weng [email protected]
- ZHAO Jin-Xiang [email protected]
- Joe McKenney (@joemckenney)
- EstΓ©ban (@Barbapapazes)
- Yasuhiro SHIMIZU [email protected]
- Marco Solazzi [email protected]
- Shoma-mano (@shoma-mano)
- Daniel Roe (@danielroe)
- Anthony Fu [email protected]
- Brendon Matos [email protected]
- ηΏ / Green [email protected]
v3.0.0-rc.11
π©Ή Fixes
- untyped: Use schema module default export if is the only export (cc26726)
v3.0.0-rc.10
π Enhancements
- Add
--config
to the CLI (#440)
π©Ή Fixes
π Documentation
- Add more usage info (#401)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- ιΏθ Cai [email protected]
- JoaquΓn SΓ‘nchez (@userquin)