/ts-paths-esm-loader

Node JS loader for Typescript that supports tsconfig paths

Primary LanguageJavaScriptMIT LicenseMIT

ts-paths-esm-loader

This is a simple loader made from TypeStrong/ts-node#1450 (comment)

Installation:

npm i -D ts-paths-esm-loader

To run your code use following command

node --loader ts-paths-esm-loader

Transpile only version

node --loader ts-paths-esm-loader/transpile-only

It was used with Node 16 and have no guarantees that it will work on any other version