Packages

rollup

4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed

Upgrading rollup From 2.80.0 to 3.0.0

1 release in betweenevery note read

Other targets from 2.80.0Latest4.68.5
  1. 2.80.0yours
  2. 3.0.0target
  3. 9 pre

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Security

2 advisories still affect 3.0.0

Upgrading to 3.30.0 clears them.

Release by release

  1. 3.0.0

    Migration needed11 Oct 202222 new · 4 fixes
    • Breaking

      Rollup now requires at least Node 14.18.0 to run (#4548 and #4596)

    • Breaking

      The browser build has been split into a separate package @rollup/browser

    • Breaking

      The node build uses the node: prefix for imports of builtin modules

    • Breaking

      Configuration files are only bundled if either the --configPlugin or the --bundleConfigAsCjs options are used. The configuration is bundled to an ES module unless the --bundleConfigAsCjs option is used. In all other cases, configuration is now loaded using Node's native mechanisms (#4574 and #4621)

32 other lines we could not sort, mostly version bumps
  • this.emitAsset(): use this.emitFile()

    3.0.0
  • this.emitChunk(): use this.emitFile()

    3.0.0
  • this.getAssetFileName(): use this.getFileName()

    3.0.0
  • this.getChunkFileName(): use this.getFileName()

    3.0.0
  • this.isExternal(): use this.resolve()

    3.0.0
  • this.resolveId(): use this.resolve()

    3.0.0
  • Run output plugins last

    3.0.0
  • Remove actively deprecated features, show warnings for other deprecated features

    3.0.0
  • Convert build scripts to ESM, update dependencies

    3.0.0
  • Rework file name patterns when preserving modules

    3.0.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.