Skip to content

[Replacement]: rollup-plugin-commonjs #1128

Description

@anilloutombam

Package to replace

rollup-plugin-commonjs

Suggested replacement(s)

@rollup/plugin-commonjs

Manifest type

preferred (lighter or more modern alternative package)

Rationale

rollup-plugin-commonjs is deprecated. Its maintained replacement is the official @rollup/plugin-commonjs package.

Availability

The current package requires Rollup 2.68 or later and a supported Node.js LTS release.

Code example (optional)

import commonjs from rollup-plugin-commonjs // [!code --]
import commonjs from @rollup/plugin-commonjs // [!code ++]

export default {
  plugins: [commonjs()]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedUsed to signal if a suggested replacement has been accepted.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions