29 lines
586 B
TypeScript
29 lines
586 B
TypeScript
export type ExtraEntryPoint = ExtraEntryPointClass | string;
|
|
|
|
export interface ExtraEntryPointClass {
|
|
bundleName?: string;
|
|
inject?: boolean;
|
|
input: string;
|
|
lazy?: boolean;
|
|
}
|
|
|
|
export type NormalizedEntryPoint = Required<Omit<ExtraEntryPointClass, 'lazy'>>;
|
|
|
|
export interface EmittedFile {
|
|
id?: string;
|
|
name?: string;
|
|
file: string;
|
|
extension: string;
|
|
initial: boolean;
|
|
asset?: boolean;
|
|
}
|
|
|
|
export interface CreateWebpackConfigOptions<T = any> {
|
|
root: string;
|
|
projectRoot: string;
|
|
sourceRoot?: string;
|
|
buildOptions: T;
|
|
tsConfig: any;
|
|
tsConfigPath: string;
|
|
}
|