2 ms·
Exactly this. Deno is designed to align with web module semantics, and omitting the extension is only really feasible when resolving modules on disk where round
by eins1234 5y ago
Exactly this. Deno is designed to align with web module semantics, and omitting the extension is only really feasible when resolving modules on disk where roundtrip times are short and looking for multiple extensions in parallel is cheap. Deno, as well as the web, supports module resolution across the internet, where this resolution strategy would become prohibitively expensive.