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
and it worked as I thought it would be in the first attempt.
This is a local hack just to see if it works and I have no idea what could be done to allow it to work properly. Hoping someone competent can take a look at this.
The text was updated successfully, but these errors were encountered:
In order to resolve user conditions defined in
package.json
we're supposed to pass a flag to node indicating which condition is to be used.In my
package.json
:^ this does not pass the -C flag to node and any imports are searched in the default path, in
./dist
.I could not find anything regarding this flag in this repo, but I assume it is supposed to work the way
tsx
does:^ this passes the flag to node and the correct imports are used
edit: browsing the source I found this regarding conditions
swc-node/packages/register/esm.mts
Line 43 in 64d568b
and out of curiosity I've updated it locally to:
and it worked as I thought it would be in the first attempt.
This is a local hack just to see if it works and I have no idea what could be done to allow it to work properly. Hoping someone competent can take a look at this.
The text was updated successfully, but these errors were encountered: