初始化项目,添加 favicon.ico、screenshot.png 等静态资源文件,以及 Vue、TailwindCSS 等依赖项。配置了 Vite 和 PostCSS,并生成了基本的项目结构。
21 lines
471 B
TypeScript
21 lines
471 B
TypeScript
import type { LogHandler, MergedRollupOptions, RollupLog } from './rollup';
|
|
|
|
export interface BatchWarnings {
|
|
add: (warning: RollupLog) => void;
|
|
readonly count: number;
|
|
flush: () => void;
|
|
log: LogHandler;
|
|
readonly warningOccurred: boolean;
|
|
}
|
|
|
|
export type LoadConfigFile = typeof loadConfigFile;
|
|
|
|
export function loadConfigFile(
|
|
fileName: string,
|
|
commandOptions: any,
|
|
watchMode?: boolean
|
|
): Promise<{
|
|
options: MergedRollupOptions[];
|
|
warnings: BatchWarnings;
|
|
}>;
|