ScriptEntry
import type { ScriptEntry } from "@pitlane/assets";What a browser needs to load one script entry: its URL, the URLs worth
modulepreload hints, and the import map its imports resolve through.
Structurally the ScriptEntry of remix/assets.
Properties
href
href: string;The public URL of the entry module.
importMap
importMap: ImportMap;The complete client import map, or { imports: {} } when chunk import maps are disabled.
preloads
preloads: string[];The entry module's URL followed by its static JavaScript dependencies, shallowest first.