Skip to content

Releases: unjs/unbuild

v3.0.0-rc.1

18 Dec 20:02
@pi0 pi0
Compare
Choose a tag to compare
v3.0.0-rc.1 Pre-release
Pre-release

compare changes

πŸš€ Enhancements

  • ⚠️ Upgrade to rollup v4 (#327)
  • Support disabling preserveDynamicImports (#322)
  • rollup: ⚠️ Default to esnext 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

v2.0.0

22 Aug 17:05
@pi0 pi0
Compare
Choose a tag to compare

compare changes

⭐ Highlights

  • Support for generating mts and cts declarations (read #273 and #226 for more info)
  • 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

v2.0.0-rc.0

18 Jul 20:07
@pi0 pi0
Compare
Choose a tag to compare
v2.0.0-rc.0 Pre-release
Pre-release

v1.2.1

13 Apr 11:32
@pi0 pi0
Compare
Choose a tag to compare

compare changes

πŸ’… Refactors

❀️ Contributors

  • Pooya Parsa (@pi0)

v1.2.0

31 Mar 12:44
@pi0 pi0
Compare
Choose a tag to compare

compare changes

πŸš€ Enhancements

  • rollup: Add jsx and tsx 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

  • Add types to default exports (#226)
  • Remove types field suggestion for now (e8988ae)

🏑 Chore

❀️ Contributors