Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Resolve extensionless imports #3

Closed
Rich-Harris opened this issue Jul 4, 2018 · 2 comments
Closed

Resolve extensionless imports #3

Rich-Harris opened this issue Jul 4, 2018 · 2 comments

Comments

@Rich-Harris
Copy link
Contributor

TypeScript yells at you if you do this...

import foo from './foo.ts';

...instead of this:

import foo from './foo';

I find that idiotic and infuriating but so be it. Perhaps this plugin could automatically resolve TypeScript imports without extensions, if you specify the typescript transform.

What do you reckon @alangpierce?

@Rich-Harris
Copy link
Contributor Author

Fixed in 2.1.0

@StreetStrider
Copy link

Awesome. Closing another gap created by TS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants