Releases: unjs/unbuild
Releases Β· unjs/unbuild
v3.0.0-rc.3
π Enhancements
- Upgrade to jiti v2 beta (#409)
π©Ή Fixes
- 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)
π Refactors
- Overhaul builders structure (#410)
- Add explicit return types (#412)
- Use
colors
fromconsola/utils
(6a8f36d)
π‘ Chore
- Upgrade
@rollup/plugin-commonjs
to 26 (9392ec3) - Update deps (d886ad5)
- Update release script (8ce4090)
- Remove unused imports (04c2b5c)
- Add explicit type for var exports (af26e40)
- Stricter type checks (#413)
- Add publishTag to release script (577484c)
β€οΈ Contributors
- Pooya Parsa (@pi0)
v3.0.0-rc.2
π Enhancements
- 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)
π©Ή Fixes
- 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)
π Documentation
β€οΈ Contributors
- Pooya Parsa (@pi0)
- S3xysteak (@s3xysteak)
- Weng [email protected]
- ZHAO Jin-Xiang [email protected]
- Joe McKenney (@joemckenney)
- EstΓ©ban [email protected]
- Yasuhiro SHIMIZU [email protected]
- ιΏθ Cai [email protected]
- Marco Solazzi [email protected]
- Shoma-mano (@shoma-mano)
- Daniel Roe (@danielroe)
v3.0.0-rc.1
π Enhancements
β οΈ Upgrade to rollup v4 (#327)- Support disabling
preserveDynamicImports
(#322) - rollup:
β οΈ Default toesnext
build target (#335)
π©Ή Fixes
- Don't clean root directory if set as
outDir
(#343)
π Refactors
- Use
jiti.import
for ESM stubs and improve templates (#300)
π Documentation
- Update jsdocs for
inferEntries
(#310)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Anthony Fu [email protected]
- Brendon Matos [email protected]
- EstΓ©ban (@Barbapapazes)
- ηΏ / Green [email protected]
v2.0.0
β Highlights
- Support for generating
mts
andcts
declarations (read #273 and #226 for more info)- Tip: You can validate your package using https://arethetypeswrong.github.io/
- Support new CLI options
--minify
and--sourcemap
- Upgraded to mkdist v1.3.0
- Several bug fixes and stability improvements
π Enhancements
- Generate
.d.mts
and.d.cts
declarations (#273) - Support multiple build configs (#275)
- Support nested subpaths (#280)
- Allow customizing jiti options for stub entries (#282)
- Support aliases for stub mode (#283)
- Migrate to unjs/citty (#284)
- cli: Support --minify (#285)
- Sourcemap support (#286)
π©Ή Fixes
- Respect directory separator when matching entries (#214)
- esbuild: Typo in sourcemap option (#259)
- Remove extensions from default output name (#279)
- rollup: Check module id against externals as well (#270)
- esbuild: Apply minify with corresponding loader (#254)
- esbuild: Do not minify declarations (83b3ed2)
- mkdist: Allow passing all possible options (f40a889)
- Clean dist directories only once for multi builds (11c47c8)
- auto: Avoid warning for existing files (#287)
π Refactors
- rollup:
β οΈ Improve esbuild options handling (#278)
π¦ Build
β οΈ Make typescript a peer dependency (f31c6a4)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- Sukka [email protected]
- Wang Zhi (@yfwz100)
- Patryk Tomczyk
- JounQin (@JounQin)
- ZHAO Jin-Xiang [email protected]
- LitoMore
- η§η§ [email protected]
v2.0.0-rc.0
v1.2.1
v1.2.0
π Enhancements
- rollup: Add
jsx
andtsx
to esbuild loader defaults (#198) - rollup: Allow regular expressions in
externals
array (#145) - mkdist: Add new
pattern
option (#139) - Support esbuild
charset
option (#190) - rollup: Allow passing any all common esbuild options (8e81e2a)
- rollup: Show size of bundled npm packages in cli output (#243)
π©Ή Fixes
- Pass missing esbuild jsx factory options (#224)
- rollup: Handle array format for
rollup.alias.entries
option (#220) - rollup: Enable
interop: compat
for cjs compatibility (#215)
π Documentation
π‘ Chore
β€οΈ Contributors
- Pooya Parsa (@pi0)
- Kid
- Ntnyq (@ntnyq)
- Marco Solazzi [email protected]
- Zoeyzhao19
- Dunqing (@Dunqing)
- XLor [email protected]