Skip to content

v3.6.0

Choose a tag to compare

@huozhi huozhi released this 20 Jul 21:51
· 524 commits to main since this release

πŸŽ‰ 3.6.0πŸŽ‰

In this release bunchee lands the support for dual package's typing, when you building a dual package (which supports both CJS and ESM bundles that can be decided by the bundler) which has different .mjs and .cjs files listed in the exports field, we'll generate the .d.cts and d.mts files for you so it could work with TypeScript resolution of typings properly. Read TypeScript ESM Node for more details.

Features

  • feat: add basic support to generate separate type declarations files when building ts dual packages by @promer94 in #219

Patches

Misc

  • chore: add lint for consistency of the project by @devjiwonchoi in #229
  • chore: prioritize exports.require over pkg.main by @devjiwonchoi in #232
  • Group constants into same module, add cts and mts supported ext by @huozhi in #225

New Contributors

Full Changelog: v3.5.1...v3.6.0