Separate importmap file for static website
I have a folder in my Deno app for a static Website. The content could look like this:
And I use an importmap.json for this Website. However, Deno complains with the following error message:
Relative import path "@fullcalendar/core" not prefixed with / or ./ or ../ and not in import map from "main.js" Hint: Use [deno add @fullcalendar/core] to add the dependency.deno(resolver-error)
But, I don't want to add @fullcalendar/core or other website libs to the deno.json. Server-Side and Client-Side libs should remain separate.
How can I prevent Deno from detecting an error here?
And I use an importmap.json for this Website. However, Deno complains with the following error message:
Relative import path "@fullcalendar/core" not prefixed with / or ./ or ../ and not in import map from "main.js" Hint: Use [deno add @fullcalendar/core] to add the dependency.deno(resolver-error)
But, I don't want to add @fullcalendar/core or other website libs to the deno.json. Server-Side and Client-Side libs should remain separate.
How can I prevent Deno from detecting an error here?
