@wjunt/webpack-config
Version:
Presets of webpack config
9 lines (8 loc) • 309 B
TypeScript
import { Configuration } from 'webpack';
export interface EntryOptions {
pattern?: string;
context?: string;
exclude?: RegExp;
entryName?: (name: string, extension: string) => string;
}
export declare function pages(options?: EntryOptions): Required<Pick<Configuration, 'context' | 'entry'>>;