UNPKG

rolldown

Version:

Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.

19 lines (18 loc) 904 B
import type { RollupLog } from '../types/misc'; export declare function logParseError(message: string): RollupLog; export declare function logMinifyWarning(): RollupLog; export declare function logInvalidLogPosition(pluginName: string): RollupLog; export declare function logInputHookInOutputPlugin(pluginName: string, hookName: string): RollupLog; export declare function logCycleLoading(pluginName: string, moduleId: string): RollupLog; export declare function logMultiplyNotifyOption(): RollupLog; export declare function logPluginError(error: Omit<RollupLog, 'code'> & { code?: unknown; }, plugin: string, { hook, id }?: { hook?: string; id?: string; }): RollupLog; export declare function error(base: Error | RollupLog): never; export declare function augmentCodeLocation(properties: RollupLog, pos: number | { column: number; line: number; }, source: string, id: string): void;