Skip to content

Releases: huozhi/bunchee

v4.2.7

28 Dec 19:07
Compare
Choose a tag to compare

Patches

Thanks @SukkaW for help in #343

Full Changelog: v4.2.6...v4.2.7

v4.2.6

28 Dec 01:01
Compare
Choose a tag to compare

Patches

Documentation

  • Update docs with more explanation of entry files by @huozhi in #337

Full Changelog: v4.2.4...v4.2.6

v4.2.4

27 Dec 21:59
Compare
Choose a tag to compare

Patches

Full Changelog: v4.2.3...v4.2.4

v4.2.3

27 Dec 16:36
Compare
Choose a tag to compare

Improvement

image

  • Prettier Logging #333
  • If there's duplicated layer, for example index.js ("use client") -> dep.js ("use client"), they'll be kept in the same bundle #334

Full Changelog: v4.2.2...v4.2.3

v4.2.2

25 Dec 16:34
Compare
Choose a tag to compare

Improvements

Full Changelog: v4.2.1...v4.2.2

v4.2.1

24 Dec 22:33
Compare
Choose a tag to compare

Bunchee is now built by itself using the shared entry feature (in #325), and there're some improvements for RSC bundling

Improvements

Misc

Full Changelog: v4.2.0...v4.2.1

v4.2.0

24 Dec 01:43
Compare
Choose a tag to compare

With bunchee v4.2.0, if you import an entry into another entry, the dependent entry will be the shared chunk. This will help you reduce the bundle size if you're using it. Check details in #320

Feature

Fixes

  • Fix missing dts for special exports by @huozhi in #322
  • Fix default ext for node, require, default export condition by @huozhi in #324

Misc

Full Changelog: v4.1.1...v4.2.0

v4.1.1

20 Dec 23:13
Compare
Choose a tag to compare

Patches

Fixed the imports hoist that breaking server/client boundaries for React client components bundling

Full Changelog: v4.1.0...v4.1.1

v4.1.0

17 Dec 20:54
Compare
Choose a tag to compare

⚛️ Now bunchee can split RSC client components with "use client" and server actions modules with "use server" into different chunks, so they can be integrated with React framework like Next.js better. More accurate boundaries, to generate smaller JS bundle in production!

Feature

Misc

  • refactor: simplify redudant calls, polish code by @huozhi in #306

  • test: organize tests folders by @huozhi in #310

Full Changelog: v4.0.1...v4.1.0

v4.0.0

10 Dec 21:06
Compare
Choose a tag to compare

V4

🎉 Finally we're happily annoucing bunchee v4 release! We're leveraging rollup v4, introduced few features for package bundling and few improvements!

Features

Improvements

  • Upgrade to rollup v4 by @huozhi in #292
  • Replace rollup-swc-preserve-directives with rollup-preserve-directives by @huozhi in #288
  • build: Update @swc/core by @kdy1 in #285

Misc

⚠️ Notice

  • Requires node version >= 18

New Contributors

Kudos

  • Thanks @SukkaW for helping on rollup-preserve-directives to shape the library into a performant, flexible and stable form!
  • Thanks @kdy1 for helping on making SWC as an amazing dependency and fixing few critical related issues!

Full Changelog: v3.9.2...v4.0.0