UNPKG

@umijs/bundler-webpack

Version:
17 lines (16 loc) 460 B
import Config from '../../compiled/webpack-5-chain'; import { Env, IConfig } from '../types'; interface IOpts { config: Config; userConfig: IConfig; cwd: string; env: Env; extraBabelPlugins: any[]; extraBabelPresets: any[]; extraBabelIncludes: Array<string | RegExp>; extraEsbuildLoaderHandler: any[]; babelPreset: any; name?: string; } export declare function addJavaScriptRules(opts: IOpts): Promise<void>; export {};