Packages

@rollup/plugin-commonjs

29.0.3 · 29 May 2026MIT20.8M / weekRepositoryHomepagenpmAtom feed

Your version

12.0.0

major20 May 2020Where it was published

In short

2 breaking1 new2 fixed

  • breaking

    Add kill-switch for mixed es-cjs modules

  • breaking

    Set syntheticNamedExports for commonjs modules

Release note

The section about @rollup/plugin-commonjs of a note shared by several packages.

2020-05-20

Breaking Changes

  • breaking

    Add kill-switch for mixed es-cjs modules

  • breaking

    Set syntheticNamedExports for commonjs modules

Bugfixes

  • Expose the virtual require function on mock module. fixes #307

  • Improved shouldWrap logic. fixes #304

Features

  • Support for explicit module.require calls. fixes #310