Skip to content

chore: update rollup-plugin-gzip to v4 for rolldown-vite support#593

Closed
josephnle wants to merge 1 commit intoElMassimo:mainfrom
josephnle:update-gzip-plugin
Closed

chore: update rollup-plugin-gzip to v4 for rolldown-vite support#593
josephnle wants to merge 1 commit intoElMassimo:mainfrom
josephnle:update-gzip-plugin

Conversation

@josephnle
Copy link
Contributor

Description 📖

Currently, v3.1.0 of rollup-plugin-gzip, which is used by vite-plugin-rails, does not support rolldown-vite.

Background 📜

Given Vite 8 v1.0 is out now, rolldown is becoming more mainstream. We should upgrade rollup-plugin-gzip to v4.1.0 since that adds rolldown-vite support.

https://github.com/kryops/rollup-plugin-gzip/blob/main/CHANGELOG.md#v410-2025-06-14

The Fix 🔨

Update rollup-plugin-gzip from ^3.1.0 to ^4.1.0 in vite-plugin-rails. v4.1.0 adds support for rolldown-vite, and the only breaking change from v3 is switching to type: "module", which vite-plugin-rails already uses.

Update rollup-plugin-gzip from ^3.1.0 to ^4.1.0 in vite-plugin-rails. v4.1.0 adds support for rolldown-vite, and the only breaking change from v3 is switching to `type: "module"`, which vite-plugin-rails already uses.
ElMassimo added a commit that referenced this pull request Mar 17, 2026
@ElMassimo ElMassimo closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants