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

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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
variable safeImportResolve
import { safeImportResolve } from "https://deno.land/x/live@1.102.3/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