rolldown
Version:
Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.
13 lines (12 loc) • 646 B
TypeScript
export type LogLevel = 'info' | 'debug' | 'warn';
export type LogLevelOption = LogLevel | 'silent';
export type LogLevelWithError = LogLevel | 'error';
export type RollupLog = any;
export type RollupLogWithString = RollupLog | string;
export type LogOrStringHandler = (level: LogLevelWithError, log: RollupLogWithString) => void;
export declare const LOG_LEVEL_SILENT: LogLevelOption;
export declare const LOG_LEVEL_ERROR = "error";
export declare const LOG_LEVEL_WARN: LogLevel;
export declare const LOG_LEVEL_INFO: LogLevel;
export declare const LOG_LEVEL_DEBUG: LogLevel;
export declare const logLevelPriority: Record<LogLevelOption, number>;