Skip to main content
Module

x/drollup/deps.ts>PluginContext

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

Properties

addWatchFile: (id: string) => void
deprecated
emitAsset: EmitAsset
deprecated
emitChunk: EmitChunk
emitFile: EmitFile
error: (err: RollupError | string, pos?: number | { column: number; line: number; }) => never
deprecated
getAssetFileName: (assetReferenceId: string) => string
deprecated
getChunkFileName: (chunkReferenceId: string) => string
getFileName: (fileReferenceId: string) => string
getModuleIds: () => IterableIterator<string>
getModuleInfo: GetModuleInfo
getWatchFiles: () => string[]
deprecated
isExternal: IsExternal
deprecated
moduleIds: IterableIterator<string>
parse: (input: string, options?: any) => AcornNode
resolve: (
source: string,
importer?: string,
options?: { custom?: CustomPluginOptions; isEntry?: boolean; skipSelf?: boolean; },
) => Promise<ResolvedId | null>
deprecated
resolveId: (source: string, importer?: string) => Promise<string | null>
setAssetSource: (assetReferenceId: string, source: string | Uint8Array) => void
warn: (warning: RollupWarning | string, pos?: number | { column: number; line: number; }) => void