Jayden Seric
Jayden Seric
DDeno
Created by Jayden Seric on 12/28/2024 in #help
Does Deno block deep imports of modules not whitelisted in the `deno.json` field `exports`?
Question: Does the deno.json field exports cause Deno to block deep import access to any modules not whitelisted in the declared exports, like how Node.js package.json field exports works? The Deno config docs doesn't mention the exports field (why?!!): https://docs.deno.com/runtime/fundamentals/configuration/ The Intellisense for the field contains "this JSR package" (which seems wrong to assume this is a JSR package, is the field only used by JSR?), and it doesn't explain the full behavior: https://deno.land/x/deno@v2.1.4/cli/schemas/config-file.v1.json?source=#L583
1 replies