1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/tests/specs/run/cjs_reexport_non_analyzable
Nathan Whitaker f1ba266613
fix(node): Don't error out if we fail to statically analyze CJS re-export (#25748)
Fixes rsbuild running in deno.

You can look at the test to see what was failing, the gist is that we
were trying to statically analyze the re-exports of a CJS script, and if
we couldn't find the source for the re-exported file we would fail.

Instead, we should just treat these as if they were too dynamic to
analyze, and let it fail (or succeed) at runtime. This aligns with
node's behavior.
2024-09-19 18:37:36 -07:00
..
node_modules fix(node): Don't error out if we fail to statically analyze CJS re-export (#25748) 2024-09-19 18:37:36 -07:00
__test__.jsonc fix(node): Don't error out if we fail to statically analyze CJS re-export (#25748) 2024-09-19 18:37:36 -07:00
deno.json fix(node): Don't error out if we fail to statically analyze CJS re-export (#25748) 2024-09-19 18:37:36 -07:00
main.ts fix(node): Don't error out if we fail to statically analyze CJS re-export (#25748) 2024-09-19 18:37:36 -07:00