mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 10:07:54 -05:00
1a0cb5b531
When using the `--unstable-detect-cjs` flag or adding `"unstable": ["detect-cjs"]` to a deno.json, it will make a JS file CJS if the closest package.json contains `"type": "commonjs"` and the file is not an ESM module (no TLA, no `import.meta`, no `import`/`export`). |
||
---|---|---|
.. | ||
cache_db.rs | ||
caches.rs | ||
check.rs | ||
code_cache.rs | ||
common.rs | ||
deno_dir.rs | ||
disk_cache.rs | ||
emit.rs | ||
fast_check.rs | ||
incremental.rs | ||
mod.rs | ||
module_info.rs | ||
node.rs | ||
parsed_source.rs |