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

x/drollup/plugins/image/types.d.ts>RollupImageOptions

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

Properties

optional
include: FilterPattern

All image files will be parsed by default, but you can also specifically include files

optional
exclude: FilterPattern

All image files will be parsed by default, but you can also specifically exclude files

optional
dom: boolean

If true, instructs the plugin to generate an ES Module which exports a DOM Image which can be used with a browser's DOM. Otherwise, the plugin generates an ES Module which exports a default const containing the Base64 representation of the image.