@umijs/bundler-webpack
Version:
@umijs/bundler-webpack
13 lines (12 loc) • 330 B
TypeScript
import Config from '@umijs/bundler-webpack/compiled/webpack-5-chain';
import { Env, IConfig } from '../types';
interface IOpts {
config: Config;
userConfig: IConfig;
cwd: string;
env: Env;
browsers: any;
name?: string;
}
export declare function addFastRefreshPlugin(opts: IOpts): Promise<void>;
export {};