Repository URL to install this package:
|
Version:
1.4.6 ▾
|
import type { Configuration } from 'webpack';
export type PackageConfig = {
enableAstroturf: boolean;
enableAntdTheme: boolean;
antdThemeName: string;
};
export type CracoConfig = {
eslint: {
mode: string;
};
babel: {
plugins: unknown[];
};
webpack: {
configure: (webpackConfig: Configuration) => Configuration;
};
};
export type BabelPluginImportOptions = {
libraryName: string;
libraryDirectory: string;
camel2DashComponentName?: boolean;
style?: boolean | string;
};
export type BabelPluginImportConfig = [
'import',
BabelPluginImportOptions,
string,
];