From 9be8dce0c7f8deaeff5523735e0867194ec04c59 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Sat, 21 Sep 2024 16:10:38 -0700 Subject: fix(node): Include "node" condition during CJS re-export analysis (#25785) Fixes #25777. We were missing the "node" condition, so we were resolving to the wrong conditional export, causing our analysis to be incorrect. --- tests/registry/npm/@denotest/mjs-reexport-cjs/1.0.0/index.mjs | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/registry/npm/@denotest/mjs-reexport-cjs/1.0.0/index.mjs (limited to 'tests/registry/npm/@denotest/mjs-reexport-cjs/1.0.0/index.mjs') diff --git a/tests/registry/npm/@denotest/mjs-reexport-cjs/1.0.0/index.mjs b/tests/registry/npm/@denotest/mjs-reexport-cjs/1.0.0/index.mjs new file mode 100644 index 000000000..3767e9fcd --- /dev/null +++ b/tests/registry/npm/@denotest/mjs-reexport-cjs/1.0.0/index.mjs @@ -0,0 +1 @@ +export * from "./index.js"; \ No newline at end of file -- cgit v1.2.3