Skip to content

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.

2 participants