-
-
Notifications
You must be signed in to change notification settings - Fork 392
/
loader.d.ts
33 lines (33 loc) · 1.11 KB
/
loader.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
export type Schema = import("schema-utils/declarations/validate").Schema;
export type Compiler = import("webpack").Compiler;
export type Compilation = import("webpack").Compilation;
export type Chunk = import("webpack").Chunk;
export type Module = import("webpack").Module;
export type Source = import("webpack").sources.Source;
export type AssetInfo = import("webpack").AssetInfo;
export type NormalModule = import("webpack").NormalModule;
export type LoaderOptions = import("./index.js").LoaderOptions;
export type Locals = {
[key: string]: string | Function;
};
export type TODO = any;
export type Dependency = {
identifier: string;
context: string | null;
content: Buffer;
media: string;
supports?: string | undefined;
layer?: string | undefined;
sourceMap?: Buffer | undefined;
};
/**
* @this {import("webpack").LoaderContext<LoaderOptions>}
* @param {string} request
*/
export function pitch(
this: import("webpack").LoaderContext<MiniCssExtractPlugin.LoaderOptions>,
request: string
): void;
import MiniCssExtractPlugin = require("./index");
declare function _default(): void;
export { _default as default };