Packages

@rollup/plugin-commonjs

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

Your version

16.0.0

major27 Oct 2020Where it was published

In short

1 breaking1 new3 fixed

  • breaking

    Expose cjs detection and support offline caching

Release note

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

2020-10-27

Breaking Changes

  • breaking

    Expose cjs detection and support offline caching

Bugfixes

  • Avoid wrapping commonjsRegister call in createCommonjsModule(...)

  • Register dynamic modules when a different loader (i.e typescript) loads the entry file

  • Fixed access to node_modules dynamic module with subfolder (i.e 'logform/json')

Features

  • Pass type of import to node-resolve