Properties
addWatchFile
addWatchFile: ((id) => void)
error
error: ((error, pos?) => never)
Type declaration
- (error, pos?): never
Parameters
- error: string | RollupError
Optional pos: number | {
column: number;
line: number;
}
Returns never
getCombinedSourcemap
getFileName
getFileName: ((fileReferenceId) => string)
Type declaration
- (fileReferenceId): string
Returns string
getWatchFiles
getWatchFiles: (() => string[])
Type declaration
- (): string[]
Returns string[]
resolve
Type declaration
- (source, importer?, options?): Promise<null | ResolvedId>
Parameters
- source: string
Optional importer: stringOptional options: {
attributes?: Record<string, string>;
custom?: CustomPluginOptions;
isEntry?: boolean;
skipSelf?: boolean;
}Optional attributes?: Record<string, string>
Optional isEntry?: boolean
Optional skipSelf?: boolean
setAssetSource
setAssetSource: ((assetReferenceId, source) => void)
Type declaration
- (assetReferenceId, source): void
Parameters
- assetReferenceId: string
- source: string | Uint8Array
Returns void