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

Replace TSC bundler by nodenext module resolution #32

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Sceat
Copy link
Member

@Sceat Sceat commented Jan 16, 2025

This PR replaces the TSC module resolution bundler by nodenext which effectively enforces files extensions. This allows usage in nodeJS services without needing to setup another bundler on top of TSC.

The other solution, to be able to keep auto-extensions (import x from './index'), is to use something like parcel/rollup

@Sceat Sceat force-pushed the feat/nodenext branch 2 times, most recently from 9c46b94 to 938c232 Compare January 17, 2025 07:25
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