Skip to content

v4.3.0

Choose a tag to compare

@huozhi huozhi released this 07 Jan 21:45
· 398 commits to main since this release

😮 Are you struggling with configuring exports field in package.json? Don't want to think about CJS/ESM?
Now you can auto configuration for new JS project with CJS/ESM compatible exports with one command 😮

Enter your project with grouping entry files in the src/ folder, each entry file will be turned into an export in package.json.

- src/
  | - index.ts
  | - core.ts

🥳 Then just run prepare command, all done!

bunchee --prepare

Feature

🧠 Auto configure CJS/ESM exports command
💅 Prettier output

Changelog

Full Changelog: v4.2.11...v4.3.0