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

refactor(src): remove .js extension, append it for compiled files #3935

Closed
GervinFung opened this issue Jul 11, 2023 · 1 comment
Closed

Comments

@GervinFung
Copy link

I believe this thing is common, it's weird to import .js file when typescript files are imported/exported in src folder, and tsc should auto append the file extension for us, however, this problem can be solved with ts-add-js-extension. Do take a look at it and let me know what u think

@yaacovCR
Copy link
Contributor

I agree 100% that it’s weird, but since we appear to be managing so far, I think we will probably avoid adding another dependency, at least for now.

Thanks for reaching out with your solution!

@yaacovCR yaacovCR closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
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

No branches or pull requests

3 participants
@yaacovCR @GervinFung and others