1 | export = loader;
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | declare function loader(
|
7 | this: import("webpack").LoaderContext<MiniCssExtractPlugin.LoaderOptions>,
|
8 | content: string
|
9 | ): string | undefined;
|
10 | declare namespace loader {
|
11 | export {
|
12 | pitch,
|
13 | Schema,
|
14 | Compiler,
|
15 | Compilation,
|
16 | Chunk,
|
17 | Module,
|
18 | Source,
|
19 | AssetInfo,
|
20 | NormalModule,
|
21 | LoaderOptions,
|
22 | Locals,
|
23 | TODO,
|
24 | Dependency,
|
25 | };
|
26 | }
|
27 | import MiniCssExtractPlugin = require("./index");
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | declare function pitch(
|
33 | this: import("webpack").LoaderContext<MiniCssExtractPlugin.LoaderOptions>,
|
34 | request: string
|
35 | ): void;
|
36 | type Schema = import("schema-utils/declarations/validate").Schema;
|
37 | type Compiler = import("webpack").Compiler;
|
38 | type Compilation = import("webpack").Compilation;
|
39 | type Chunk = import("webpack").Chunk;
|
40 | type Module = import("webpack").Module;
|
41 | type Source = import("webpack").sources.Source;
|
42 | type AssetInfo = import("webpack").AssetInfo;
|
43 | type NormalModule = import("webpack").NormalModule;
|
44 | type LoaderOptions = import("./index.js").LoaderOptions;
|
45 | type Locals = {
|
46 | [key: string]: string | Function;
|
47 | };
|
48 | type TODO = any;
|
49 | type Dependency = {
|
50 | identifier: string;
|
51 | context: string | null;
|
52 | content: Buffer;
|
53 | media: string;
|
54 | supports?: string | undefined;
|
55 | layer?: string | undefined;
|
56 | sourceMap?: Buffer | undefined;
|
57 | };
|