Skip to main content
Module

x/drollup/mod.ts>PluginImpl

Next-generation ES module bundler ported for Deno
Latest
type alias PluginImpl
import { type PluginImpl } from "https://deno.land/x/drollup@2.58.0+0.20.0/mod.ts";

use this type for plugin annotation

Examples

Example 1

interface Options {
...
}
const myPlugin: PluginImpl<Options> = (options = {}) => { ... }

Type Parameters

optional
O extends object = object
definition: (options?: O) => Plugin