Releases: unjs/unbuild
Releases Β· unjs/unbuild
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]