Compiled Typescript Path Is Not Resolved
I have the following folder structure: /src /ts /controllers controller1.ts /routes route1.ts index.ts And my tsconfig.json is { 'compilerOptio
Solution 1:
TypeScript doesn't rewrite import paths: see this declined suggestion. You'll have to either use relative import paths or add the dist
directory to the NODE_PATH
environment variable at runtime.
Post a Comment for "Compiled Typescript Path Is Not Resolved"