UNPKG

@ant-design/tools

Version:
21 lines (20 loc) 557 B
import * as webpack from 'webpack'; import { Configuration } from 'webpack'; declare const svgOptions: { limit: number; minetype: string; }; declare const imageOptions: { limit: number; }; interface GetWebpackConfigFunction { (modules?: boolean, options?: { enabledReactCompiler?: boolean; }): Configuration[]; webpack: typeof webpack; svgRegex: RegExp; svgOptions: typeof svgOptions; imageOptions: typeof imageOptions; } declare const getWebpackConfig: GetWebpackConfigFunction; export default getWebpackConfig;