1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-15 11:58:42 -05:00
denoland-deno/tests/specs/node/cjs_reexport_node_condition/main.ts
Nathan Whitaker 9be8dce0c7
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.
2024-09-21 16:10:38 -07:00

3 lines
73 B
TypeScript

import { hello } from "@denotest/mjs-reexport-cjs";
console.log(hello);