You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
840 B
22 lines
840 B
import Config from 'webpack-chain';
|
|
import { IConfig, IBundlerConfigType } from '@umijs/types';
|
|
interface IOpts {
|
|
type: IBundlerConfigType;
|
|
webpackConfig: Config;
|
|
config: IConfig;
|
|
isDev: boolean;
|
|
disableCompress?: boolean;
|
|
browserslist?: any;
|
|
miniCSSExtractPluginPath?: string;
|
|
miniCSSExtractPluginLoaderPath?: string;
|
|
}
|
|
interface ICreateCSSRuleOpts extends IOpts {
|
|
lang: string;
|
|
test: RegExp;
|
|
loader?: string;
|
|
options?: object;
|
|
}
|
|
export declare function createCSSRule({ webpackConfig, type, config, lang, test, isDev, loader, options, browserslist, miniCSSExtractPluginLoaderPath, }: ICreateCSSRuleOpts): void;
|
|
export default function ({ type, config, webpackConfig, isDev, disableCompress, browserslist, miniCSSExtractPluginPath, miniCSSExtractPluginLoaderPath, }: IOpts): void;
|
|
export {};
|