stringham / move-ts

A Visual Studio Code plugin for updating relative imports when moving typescript files and folders in your workspace.
MIT License
52 stars 15 forks source link

Update paths with file extensions #36

Open itsMapleLeaf opened 2 years ago

itsMapleLeaf commented 2 years ago

At the moment, the extension only seems to update import specifiers without extensions (./file), if there's an extension (./file.ts, ./file.js, ./file.tsx), then imports are not updated.

Deno requires input extensions, and .js extensions are required to use TypeScript with native ES modules.