Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@pi0 pi0 released this 22 Aug 17:05
· 36 commits to main since this release

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