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
Right now, the runtime only works with ESM code and ESM node modules (specifically, node modules that specify a module attr in the package.json). For better compatibility, we should add support CJS by adding in the CJS translation layer.
Right now, the runtime only works with ESM code and ESM node modules (specifically, node modules that specify a
module
attr in thepackage.json
). For better compatibility, we should add support CJS by adding in the CJS translation layer.This can be implemented using https://github.com/denoland/deno/blob/9010b8df53cd37f0410e08c43a194667974686a2/ext/node/analyze.rs#L44
However, implementing this requires some dependency injection, namely the CJS analyzer and FS.
The text was updated successfully, but these errors were encountered: