5 ms·
Deno does support import maps out of the box. For Node there’s a loader[1] you can use (though a glance at the GitHub issues suggests it’s incomplete). 1: http
by eyelidlessness 4y ago
Deno does support import maps out of the box. For Node there’s a loader[1] you can use (though a glance at the GitHub issues suggests it’s incomplete).
1: https://www.npmjs.com/package/@node-loader/import-maps https://www.npmjs.com/package/@node-loader/import-maps
- xiphias2 4y agoDoes it generate import maps for me automatically? That's the hard part. I'm using Vite with Sveltekit, which is great because it compiles files separately, but still doesn't generate import maps, but uses imports with relative and absolute filenames.
- eyelidlessness 4y agoI don’t use Svelte of any kind so I’m possibly out of my depth, but I don’t know what I’d want to automate with import maps. I don’t think Deno addresses any use case like that but I’m hesitant to say so because I really don’t know what need I’m even addressing.