Skip to content

Conversation

@TheMaru
Copy link

@TheMaru TheMaru commented May 14, 2025

I've added a new cli parameter to set the style of imports/exports to ESM if you need this to get the tsc to run for a ESM setting. As mentioned in #355

TheMaru and others added 3 commits May 13, 2025 17:50
This would be a quickfix to change to the default module export style "export default styles" instead of "export = styles"

Not sure if it would be better to add a flag so the user can choose to use module or commonJS style export.
tsc is getting more picky with export statements in ESM style modules. This adds a new cli parameter to switch to ESM style exports
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.

1 participant