Skip to content

Conversation

@joshuajaco
Copy link
Contributor

@joshuajaco joshuajaco commented Jan 11, 2026

While adopting @internationalized/string-compiler in our component library to reduce dependencies, we ran into issues with the existing CJS output.
This PR adds optional ESM output support to compileStrings , defaulting to CommonJS for backward compatibility.

@joshuajaco joshuajaco marked this pull request as ready for review January 11, 2026 18:19
Copy link
Member

@snowystinger snowystinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine. Parcel does this for us when we build which is why we haven't had this as an issue. I think any user could do the same, but it seems like a nice thing to offer.

@devongovett devongovett added this pull request to the merge queue Jan 14, 2026
Merged via the queue into adobe:main with commit 42f3341 Jan 14, 2026
31 checks passed
@joshuajaco joshuajaco deleted the string-compiler-esm-support branch January 14, 2026 19:18
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.

3 participants