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
If I import a function from one script into another then require.main === module is true in both so they both fully run. This is different behavior from node and ts-node.
If I import a function from one script into another then
require.main === module
is true in both so they both fully run. This is different behavior from node and ts-node.evanw/esbuild#2121
https://github.com/qpwo/esbuild-issue-2121
The text was updated successfully, but these errors were encountered: