DEV Community

Discussion on: Path aliases with TypeScript in Node.js

Collapse
davestewart profile image
Dave Stewart

I've just released a new package Alias HQ, which allows you to reuse your js/tsconfig.json path aliases in Webpack, Jest, Rollup, or any other library.

Just call hq.get('<library name>') in the config file you want to use aliases in, and you're done:

github.com/davestewart/alias-hq