Skip to content
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

Tweak tsconfig so it's friendly to commonjs alongside ESM #47

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

rlandav
Copy link
Collaborator

@rlandav rlandav commented Dec 2, 2024

When ingested in tooling, the build tasks should support commonjs since they have .js extension and often are treated as CommonJS even when ESM is supported. The bundler setting in tsconfig was blanket applied which often just left standard import/export statements.

@rlandav rlandav requested a review from mammerla December 2, 2024 22:00
@rlandav rlandav requested a review from JakeShirley as a code owner December 2, 2024 22:00
@rlandav
Copy link
Collaborator Author

rlandav commented Dec 3, 2024

Reviewed internally. Bypassing branch protection.

@rlandav rlandav merged commit 29d380a into main Dec 3, 2024
2 checks passed
@rlandav rlandav deleted the rlanda/fixBuildTools branch December 3, 2024 15:01
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