How to echo active config and verify plugins in use? #16460
-
while debugging a After investigating the available cli options, I see that there is no way for the command above works fine executed as is with npx, however when it is executed w/in a js script by How can i echo and verify which plugins the failing invocation may be using? I would like to verify that indeed babel-node is or is not using the specified plugin to guide my next steps. how to reproduce: I do not know if this is some issue of ours or if there is some issue causing babel-node to not pick up the plugin specified at the command line. so i would like to know, "how can i debug babel node and determine if it is indeed actually NOT using that plugin despite it being specified, in my use case?" |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
Can you try running babel node with the environment variable |
Beta Was this translation helpful? Give feedback.
-
@JLHwung later on, the babel-node command fails with the following error: despite the fact that we ran it as: have i missed something? does this imply that babel-node is somehow running in a pure configuration-less mode? we spawn our builds using https://github.com/adobe/react-spectrum/blob/main/scripts/buildIcons.js#L47 on mac's and linux the import's are processed as expected... but i'm frankly more surprised that it works than that it fails... no where have we actually specified that we should use the edit: in my current local copy i'm trying to add the usage of this plugin, with - as in my post - confusing results. The goal here is to support windows developers as contributors to our project. |
Beta Was this translation helpful? Give feedback.
-
I ran |
Beta Was this translation helpful? Give feedback.
Did you try removing the
--extensions
? I am wondering if the.cjs,.js
is somehow not recognized as two extensions, in this case babel-node will not handle*.js
at all.