---
title: "@rollup/plugin-alias 6.0.0 Breaking Changes on npm"
description: "What each @rollup/plugin-alias release removed, renamed or changed: 7 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@rollup/plugin-alias
last_updated: 2026-12-04
---

# @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

Latest version `6.1.0`, released December 4, 2026. [Source repository](https://github.com/rollup/plugins)

Its 4.0.0 release requires [Node.js 14](https://since.dev/calendar/nodejs/14.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 4 breaking changes in 1 version.
- From [4.0.0](#v-4-0-0) to [6.0.0](#v-6-0-0): 5 breaking changes in 2 versions.

## @rollup/plugin-alias 6.0.0 breaking changes

@rollup/plugin-alias 6.0.0, released October 28, 2025: 4 breaking changes.

- **Removed** `MapToFunction`  

MapToFunction was removed in @rollup/plugin-alias 6.0.0 [npmjs.com](https://www.npmjs.com/package/@rollup/plugin-alias/v/6.0.0)
- **Behavior changed**  

The package is now published as ESM only, so code loading it with require() must switch to import. [github.com](https://github.com/rollup/plugins/commit/4656bc294f309678617bb4a73ab3339ddbbbcc53)
- **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](https://github.com/rollup/plugins/commit/4656bc294f309678617bb4a73ab3339ddbbbcc53)
- **Configuration changed**  

The peer dependency on rollup is now at least 4.0.0, so projects on older Rollup versions must upgrade. [github.com](https://github.com/rollup/plugins/commit/4656bc294f309678617bb4a73ab3339ddbbbcc53)

## @rollup/plugin-alias 5.0.0 breaking changes

@rollup/plugin-alias 5.0.0, released April 4, 2023: 1 breaking change.

- **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](https://github.com/rollup/plugins/commit/a0242b24d3fb03912a0ceb31a5fbbe41b7f419c5)

## @rollup/plugin-alias 4.0.0 breaking changes

@rollup/plugin-alias 4.0.0, released October 7, 2022: 2 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](https://github.com/rollup/plugins/commit/ae4e9b3718c6bb9714443dac9cfa1dca6210480b)
- **Signature changed** `ResolverFunction`  

Was type ResolverFunction = PluginHooks\['resolveId'\]; now type ResolverFunction = MapToFunction\<PluginHooks\['resolveId'\]>. [npmjs.com](https://www.npmjs.com/package/@rollup/plugin-alias/v/4.0.0)

## Related packages

- [@rollup/plugin-commonjs](https://since.dev/packages/npm/@rollup/plugin-commonjs.md)
- [@rollup/plugin-babel](https://since.dev/packages/npm/@rollup/plugin-babel.md)
- [@rollup/plugin-typescript](https://since.dev/packages/npm/@rollup/plugin-typescript.md)
- [@rollup/plugin-json](https://since.dev/packages/npm/@rollup/plugin-json.md)
- [@rollup/rollup-linux-arm64-musl](https://since.dev/packages/npm/@rollup/rollup-linux-arm64-musl.md)
- [@rollup/rollup-linux-x64-gnu](https://since.dev/packages/npm/@rollup/rollup-linux-x64-gnu.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
