logoalt Hacker News

whilenot-dev • yesterday at 7:50 AM • 1 reply • view on HN

Type stripping can and does ignore tsconfig.json files, from the provided link:

> Node.js ignores tsconfig.json files and therefore features that depend on settings within tsconfig.json, such as paths or converting newer JavaScript syntax to older standards, are intentionally unsupported.

Of course import aliases and such features would break.


Replies

zarzavat • yesterday at 11:37 AM

That's for running your own code. Not for running other people's code.

➕ show 1 reply