UNPKG

rolldown

Version:

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

5 lines (4 loc) 422 B
import type { LoggingFunctionWithPosition, LogHandler, RollupLog } from '../types/misc'; import { type LogLevel, type LogLevelOption } from './logging'; export declare const normalizeLog: (log: RollupLog | string | (() => RollupLog | string)) => RollupLog; export declare function getLogHandler(level: LogLevel, code: string, logger: LogHandler, pluginName: string, logLevel: LogLevelOption): LoggingFunctionWithPosition;