@alicloud/console-toolkit-plugin-react
Version:
console toolkit plugin for base react app
9 lines (8 loc) • 435 B
TypeScript
import * as Chain from 'webpack-chain';
import * as webpack from 'webpack';
export declare const resolveOptions: (options: any, defaultOptions: any) => any;
export declare function createRules(config: Chain, { lang, test }: {
lang: string;
test: webpack.Condition;
}): Chain.Rule;
export declare function createPlugin(config: Chain, name: string, plugin: Chain.PluginClass, options?: any): Chain.Plugin<Chain, webpack.Plugin>;