-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
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.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request