deno/resolvers/node
David Sherret f091d1ad69
feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439)
This will respect `"type": "commonjs"` in a package.json to determine if
`.js`/`.jsx`/`.ts`/.tsx` files are CJS or ESM. If the file is found to
be ESM it will be loaded as ESM though.
2024-11-13 15:10:09 +00:00
..
analyze.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
Cargo.toml chore: forward v2.0.6 release commit to main (#26804) 2024-11-10 13:12:18 +05:30
clippy.toml
env.rs
errors.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
lib.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
npm.rs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
package_json.rs feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
path.rs
README.md
resolution.rs feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
sync.rs

Node Resolver

crates docs

Provides Node.js compatible resolution for the Deno project.