@codelet/cli-service
Version:
cli-service
15 lines (14 loc) • 428 B
TypeScript
import type { Configuration } from 'webpack';
export interface Config {
/** 开发路径默认 src */
entryPath?: string;
/** 入口文件 */
source?: string[];
/** 第一页 */
pageIndex?: string;
/** webpack 配置 */
webpack?: Configuration;
}
export declare function getDefaultConfig(options?: Pick<Config, 'entryPath' | 'source' | 'pageIndex'> & {
isDev?: boolean;
}): Required<Config>;