UNPKG

@wjunt/webpack-config

Version:

Presets of webpack config

22 lines (21 loc) 604 B
import { Configuration } from 'webpack'; import { RuleSetRuleWithStrategy } from './common'; export interface VueLoaderOptions { extractCSS?: boolean; [K: string]: any; } export interface FdPointLoaderOptions { genFile?: boolean; keyWord?: string; wrapper?: boolean; devStyle?: boolean; [key: string]: any; } export interface VueRule extends RuleSetRuleWithStrategy { options?: VueLoaderOptions; fdPointOptions?: boolean | FdPointLoaderOptions; } /** * Support compiling Vue SFC. */ export declare function vue({ fdPointOptions, ...rule }?: VueRule): Configuration;