Empty TS_NODE_IGNORE
defaults to node_modules/
#1301
Labels
you can do this
Good candidate for a pull request.
Milestone
Expected Behavior
Running
TS_NODE_IGNORE= webpack
should make ts-node (internally used by webpack) take into account references to TypeScript files contained innode_modules/
.Actual Behavior
It behaves the same as if
TS_NODE_IGNORE
was not defined at all. When settingTS_NODE_IGNORE
to a dummy value, e.g.TS_NODE_IGNORE=/non-existent-directory webpack
, things work as expected.Steps to reproduce the problem
Clone https://github.com/inad9300/webpack-typescript-loader/tree/ts-node-ignore, run
npm i
andnpm start
. Compare this withnpm run really-start
.Specifications
The text was updated successfully, but these errors were encountered: