Skip to main content

Rollup 4.62.3

Release Date: July 26, 2026

Rollup 4.62.3 has been released — the ES module bundler ships a targeted bug fix in this latest patch release, alongside a host of dependency updates and documentation improvements.

Bug Fix

The marquee fix in 4.62.3 addresses an issue with preserved modules. When Rollup's preserveModules option is used, chunk names are now properly sanitized to remove illegal characters from the input base. This prevents build errors on platforms or filesystems that restrict certain characters in file paths.

What Changed

  • Illegal character sanitization — The isLegal check was made idempotent by switching from a global-flag regex to a non-global one, ensuring consistent behavior across multiple checks
  • Documentation updates — Clarified the relationship between sideEffects and moduleSideEffects options, and fixed a broken link for CommonJS named exports in the troubleshooting guide
  • Dependency maintenance — Updated SWC compiler, ESLint plugins, and other dependencies to their latest versions

Upgrade

Rollup 4.62.3 is available on npm. Update your project with npm install rollup@latest. See the full changelog for the complete list of changes.

What is New?

By continuing to use the site, you agree to the use of cookies.