Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/snel/imports/drollup.ts>PluginContext

A Cybernetical framework for svelte applications in deno
Latest
interface PluginContext
import { type PluginContext } from "https://deno.land/x/snel@v0.7.1/imports/drollup.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
load: (options: { id: string; resolveDependencies?: boolean; } & Partial<PartialNull<ModuleOptions>>) => Promise<ModuleInfo>
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