Zidan
Deno LSP Issue with import maps?
I've been using an import map throughout my project like this:
deno.json file at the projects' root that has a map like this:
and then for example, import the handler.js file like this:
Although its still working just fine. I now see a red curly underline under or any other file that's being used in the same way. And when I hover over it, it says "Relative import path "handler" not prefixed with / or ./ or ../ deno(import-prefix-missing)".
Am I doing something wrong or is it just an LSP bug?
1 replies
Serving multiple static files to an HTTP request
If a client sends a request for an array of static files names like so.
Using a Deno.serve server, is it possible to serve all files in response to that one request, instead of having the client request them one by one?
Would I need something like HTTP/2 or HTTP/3? And if so, are any of those supported in Deno?
37 replies