1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 18:49:07 -05:00
denoland-deno/tests/specs/run/require_esm
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
..
__test__.jsonc feat: require(esm) (#25501) 2024-09-10 20:12:36 +00:00
async.js feat: require(esm) (#25501) 2024-09-10 20:12:36 +00:00
main.cjs feat: require(esm) (#25501) 2024-09-10 20:12:36 +00:00
main.out feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
sync.js feat: require(esm) (#25501) 2024-09-10 20:12:36 +00:00
sync.mjs feat: require(esm) (#25501) 2024-09-10 20:12:36 +00:00