Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/blocks/engine/importmap/builder.ts>safeImportResolve

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
variable safeImportResolve
import { safeImportResolve } from "https://deno.land/x/blocks@1.107.0/engine/importmap/builder.ts";

This function is a workaround while deno's team did not resolve the issue with import.meta.resolve Tracked issue: https://github.com/denoland/deno/issues/25579

type

(specifier: string) => string