You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In cases where processinfo is used along with a transpiling loader with a load hook returning { source, format, shortCircuit: true }, then the @tapjs/processinfo loader must come last in the argument list, so that it can call nextLoad and record based on the result.
However, if the processinfo loader is in NODE_OPTIONS, then it will be first in the list, making it so that it never gets called in the load hook chain, and the file is not recorded.
The solution: only add the pi loader to NODE_OPTIONS env if it is not already present in argv.
The text was updated successfully, but these errors were encountered:
In cases where processinfo is used along with a transpiling loader with a load hook returning
{ source, format, shortCircuit: true }
, then the@tapjs/processinfo
loader must come last in the argument list, so that it can callnextLoad
and record based on the result.However, if the processinfo loader is in
NODE_OPTIONS
, then it will be first in the list, making it so that it never gets called in the load hook chain, and the file is not recorded.The solution: only add the pi loader to
NODE_OPTIONS
env if it is not already present in argv.The text was updated successfully, but these errors were encountered: