Closed mavericken closed 8 years ago
Thinking about it more, I realized there will be complaints if we don't exactly match TypeScript's resolution strategy, which is quite complicated and varies according to configuration:
https://www.typescriptlang.org/docs/handbook/module-resolution.html
My change covers the only the most basic needs, but something much more detailed would be required to accurately match the TypeScript compiler in all cases. Also a hot-reload solution I was using stopped working with this change. Perhaps someone else knows a better way to solve this.
Allows plugin-typescript to try file extensions for TS, TSX, JS, JSX in a single directory