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
debug(`Skipping ts-node registration for ${root} because it's an ESM module`)
128
132
if(plugin.type==='link')
129
-
memoizedWarn(`${plugin.name} is a linked ESM module and cannot be auto-compiled from a CommonJS root plugin. Existing compiled source will be used instead.`)
133
+
memoizedWarn(`${plugin.name} is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used instead.`)
130
134
131
135
returnorig
132
136
}
133
137
134
-
// If plugin is an ESM plugin being executed from an ESM root plugin, check to see if ts-node/esm loader has been set
135
-
// either in the NODE_OPTIONS env var or from the exec args. If the ts-node/esm loader has NOT been loaded then we want
136
-
// to skip ts-node registration so that it falls back on the compiled source.
debug(`Skipping ts-node registration for ${root} because it's an ESM module but the ts-node/esm loader hasn't been run`)
142
-
debug('try setting NODE_OPTIONS="--loader ts-node/esm" in your environment.')
143
-
if(plugin.type==='link'){
144
-
memoizedWarn(`${plugin.name} is a linked ESM module and cannot be auto-compiled without setting NODE_OPTIONS="--loader=ts-node/esm" in the environment. Existing compiled source will be used instead.`)
0 commit comments