Skip to content

Conversation

@mcous
Copy link
Member

@mcous mcous commented Sep 14, 2025

With the switch to Node>=20, this PR switches the module format to ESM. Given the current state of the JS ecosystem, going ESM-native gives us wider compatibility with dependencies that have gone ESM-only. With Node's new ability to require ESM modules, hopefully any disruption should be minimal here.

This required swapping out esbuild for rolldown to bundle the action properly.

BREAKING CHANGE: library is now ESM only

@mcous mcous changed the base branch from main to build/pnpm September 14, 2025 04:18
Base automatically changed from build/pnpm to main September 14, 2025 15:21
@mcous mcous marked this pull request as ready for review September 14, 2025 17:30
@mcous mcous merged commit e081941 into main Sep 14, 2025
15 checks passed
@mcous mcous deleted the refactor/esm branch September 14, 2025 17:39
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