1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli/standalone
David Sherret 1a0cb5b531
feat(unstable): --unstable-detect-cjs for respecting explicit "type": "commonjs" (#26149)
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`).
2024-10-14 20:48:39 -04:00
..
binary.rs feat(unstable): --unstable-detect-cjs for respecting explicit "type": "commonjs" (#26149) 2024-10-14 20:48:39 -04:00
file_system.rs refactor: move NpmCacheDir to deno_cache_dir (#25916) 2024-09-28 08:50:16 -04:00
mod.rs feat(unstable): --unstable-detect-cjs for respecting explicit "type": "commonjs" (#26149) 2024-10-14 20:48:39 -04:00
virtual_fs.rs fix(compile): make output more deterministic (#25092) 2024-08-19 16:41:11 +00:00