1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/tests/registry/npm/@denotest/conditional-exports-node/1.0.0/package.json
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

13 lines
230 B
JSON

{
"name": "@denotest/conditional-exports",
"version": "1.0.0",
"type": "module",
"exports": {
".": {
"node": "./good.cjs",
"require": "./bad.js",
"default": "./index.js"
},
"./*": "./*"
}
}