UNPKG

@codelet/cli-service

Version:
23 lines (22 loc) 693 B
import type { Configuration } from 'webpack'; export declare const cmd: string; export declare const resolve: (...args: string[]) => string; export declare const parseDir: (entryPath: string, source: string[]) => { entry: Record<string, { import: string; runtime: string; }>; }; export declare function getOptionValue(argv: string[], option: string): string | undefined; export declare function parseArgv(argv: string[]): { configPath: string; isWatch: boolean; pageIndex: string; isDev: boolean; }; export declare function getConfig(options: { configPath: string; isWatch: boolean; isDev: boolean; pageIndex: string; }): Configuration;