Prefer native TS support in node rather auto-importing swc or ts-node #32568
fregante
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that Nx will automatically load SWC or ts-node, depending on which one is found first.
NX_PREFER_TS_NODE=true
is also an option. The logic is here:nx/packages/nx/src/plugins/js/utils/register.ts
Lines 276 to 288 in 23cffe6
In my view, this is undesirable because
NX_PREFER_TS_NODE
in their env is impossibleI also opened a bug report for the incorrect warning:
Beta Was this translation helpful? Give feedback.
All reactions