@ant-design/tools
Version:
tools for ant design
21 lines (20 loc) • 557 B
TypeScript
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;