@rollup/plugin-alias breaking changes
@rollup/plugin-alias 6.0.0 (October 28, 2025) is its newest release with breaking changes, 4 of them. The first: Removed MapToFunction. Every breaking API change we have recorded in @rollup/plugin-alias on npm: 7 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.1.0, released December 4, 2026. Source repository
Its 4.0.0 release requires Node.js 14 or later. Node.js end of life dates.
- From 5.0.0 to 6.0.0: 4 breaking changes in 1 version.
- From 4.0.0 to 6.0.0: 5 breaking changes in 2 versions.
@rollup/plugin-alias 6.0.0 breaking changes
- Removed
MapToFunction
MapToFunction was removed in @rollup/plugin-alias 6.0.0 npmjs.com - Behavior changed
The package is now published as ESM only, so code loading it with require() must switch to import. github.com - Behavior changed
The package now requires Node.js 20.19.0 or later, so older Node.js versions must be upgraded before use. github.com - Configuration changed
The peer dependency on rollup is now at least 4.0.0, so projects on older Rollup versions must upgrade. github.com
@rollup/plugin-alias 5.0.0 breaking changes
- Behavior changed
Aliased paths with no importer, for example Rollup input entries, are now resolved by the alias plugin. Check that entry paths still point where you expect. github.com
@rollup/plugin-alias 4.0.0 breaking changes
- Behavior changed
The release drops support for Node versions below 14. Users on older Node versions must upgrade Node before using this version. github.com - Signature changed
ResolverFunction
Was type ResolverFunction = PluginHooks['resolveId']; now type ResolverFunction = MapToFunction<PluginHooks['resolveId']>. npmjs.com
Related packages
- @rollup/plugin-commonjs
- @rollup/plugin-babel
- @rollup/plugin-typescript
- @rollup/plugin-json
- @rollup/rollup-linux-arm64-musl
- @rollup/rollup-linux-x64-gnu
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.