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

x/drollup/plugins/importmap/mod.ts>RollupImportMapOptions

Next-generation ES module bundler ported for Deno
Latest
interface RollupImportMapOptions
import { type RollupImportMapOptions } from "https://deno.land/x/drollup@2.58.0%2B0.20.0/plugins/importmap/mod.ts";

Properties

optional
maps: ImportMap | ImportMap[]

A path to an import map, an inline import map object, or an array containing any combination of the above.

optional
external: boolean

If true, instructs Rollup to mark imports declared in the provided import maps as external. If false the imports are bundled. If not specified it will default to false.

optional
baseUrl: string

Set the base url from which the relative-URL-like addresses are resolved.

If not provided, the base url will the location of the import map if an import map path is provided, or the current working directory if not.