# What changed in @rollup/plugin-alias

> 4 changes in @rollup/plugin-alias 4 to 6 from its official release notes, upgrade guides and advisories: 2 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@rollup/plugin-alias/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @rollup/plugin-alias 6

### Breaking changes

- The package is ESM only, so developers must use it as an ES module. (6.0.0) — [release notes](https://github.com/rollup/plugins/blob/18a4e3822ae5959827b13c174892b1dd7a49e978/packages/alias/CHANGELOG.md#v600)
- The minimum supported Node and Rollup versions have changed; the notes do not specify the new minimums. (6.0.0) — [release notes](https://github.com/rollup/plugins/blob/18a4e3822ae5959827b13c174892b1dd7a49e978/packages/alias/CHANGELOG.md#v600)

## @rollup/plugin-alias 4

### Fixes and other changes

- Handles the latest node-resolve. (4.0.0) — [release notes](https://github.com/rollup/plugins/blob/HEAD/packages/alias/CHANGELOG.md)
- Prepares @rollup/plugin-alias to work with Rollup 3. (4.0.0) — [release notes](https://github.com/rollup/plugins/blob/HEAD/packages/alias/CHANGELOG.md)
