Skip to content

feat: string-compiler ESM support#9465

Merged
devongovett merged 1 commit into
adobe:mainfrom
joshuajaco:string-compiler-esm-support
Jan 14, 2026
Merged

feat: string-compiler ESM support#9465
devongovett merged 1 commit into
adobe:mainfrom
joshuajaco:string-compiler-esm-support

Conversation

@joshuajaco

@joshuajaco joshuajaco commented Jan 11, 2026

Copy link
Copy Markdown
Contributor

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

@snowystinger snowystinger left a comment

Copy link
Copy Markdown
Member

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
@yihuiliao yihuiliao added the no testing Does not require manual testing during testing session label Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no testing Does not require manual testing during testing session

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants