ko
Version:
build & lint library
32 lines (31 loc) • 669 B
TypeScript
import { IWebpackOptions } from '../../types';
declare const loaders: (opts: IWebpackOptions) => (false | {
test: RegExp;
type: string;
generator: {
filename: string;
};
} | {
test: RegExp;
use: ({
loader: string;
} | {
loader: string;
options: {
esModule: boolean;
modules: {
namedExport: boolean;
localIdentName: string;
};
};
})[];
} | {
test: RegExp;
loader: string;
include: (input: string) => boolean;
options: {
inline: string;
};
use?: undefined;
} | undefined)[];
export default loaders;