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

Mention experimental specifier resolution in TypeScript recipe #2910

Merged
merged 3 commits into from Dec 31, 2021

Conversation

rrichardson
Copy link
Contributor

Using the nodeArgument --experimental-specifier-resolution=node makes it so one you don't have to add the .js extension to files when importing for your tests. (Such things are not feasible for people with large typescript workspaces)

This PR just updates the typescript recipe to suggest such a change.

@rrichardson
Copy link
Contributor Author

fixes #2593

@novemberborn
Copy link
Member

Thanks for the PR @rrichardson! I'd like to make some edits (nothing worth a back-and-forth over), hopefully I'll get to that over my break at the end of the year.

@novemberborn
Copy link
Member

I've edited this so we stick a little closer to the default behavior, but still allow people to discover these experiments.

@novemberborn novemberborn changed the title updating typescript recipe to use experimental-specifier-resolution=node Mention experimental specifier resolution in TypeScript recipe Dec 31, 2021
@novemberborn novemberborn merged commit b3a1b72 into avajs:main Dec 31, 2021
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.

None yet

2 participants