joonhocho/tscpaths

replaces paths with .ts instead of .js

Opened this issue · 1 comments

Not sure why this would be happening. It does it regardless of if I chain the tsc and tscpaths commands or not.

Output:
require("../shared/index.ts");

Expected:
require("../shared/index.js");

@HurricaneDancer Are you compiling the code to Javascript before running tscpaths?

tscpaths Should only care about replacing the alias-based imports with relative imports.