1 | export type Compilation = import("webpack").Compilation;
|
2 | export type Module = import("webpack").Module;
|
3 | export type LoaderContext = import("webpack").LoaderContext<any>;
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | export function trueFn(): boolean;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export function findModuleById(
|
17 | compilation: Compilation,
|
18 | id: string | number
|
19 | ): null | Module;
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export function evalModuleCode(
|
27 | loaderContext: LoaderContext,
|
28 | code: string | Buffer,
|
29 | filename: string
|
30 | ): object;
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | export function compareModulesByIdentifier(a: Module, b: Module): 0 | 1 | -1;
|
37 | export const MODULE_TYPE: "css/mini-extract";
|
38 | export const AUTO_PUBLIC_PATH: "__mini_css_extract_plugin_public_path_auto__";
|
39 | export const ABSOLUTE_PUBLIC_PATH: "webpack:///mini-css-extract-plugin/";
|
40 | export const BASE_URI: "webpack://";
|
41 | export const SINGLE_DOT_PATH_SEGMENT: "__mini_css_extract_plugin_single_dot_path_segment__";
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | export function stringifyRequest(
|
48 | loaderContext: LoaderContext,
|
49 | request: string
|
50 | ): string;
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 | export function stringifyLocal(value: string | Function): string;
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 | export function getUndoPath(
|
64 | filename: string,
|
65 | outputPath: string,
|
66 | enforceRelative: boolean
|
67 | ): string;
|