Skip to content

Ts export behavior #506

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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