-
Notifications
You must be signed in to change notification settings - Fork 85
/
index.d.ts
36 lines (32 loc) · 958 Bytes
/
index.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
34
35
36
declare module 'extract-css-chunks-webpack-plugin' {
import { ChunkData, Plugin } from 'webpack';
class ExtractCssChunksPlugin extends Plugin {
static loader: string;
constructor(options?: ExtractCssChunksPlugin.PluginOptions);
}
namespace ExtractCssChunksPlugin {
interface PluginOptions {
/**
* The filename of the entry chunk.
*/
filename?: string;
/**
* The filename of non-entry chunks.
*/
chunkFilename?: string;
/**
* Generates a file name (or template) based on chunk data.
*/
moduleFilename?: (chunk: ChunkData) => string;
/**
* Remove warnings about conflicting order.
*/
ignoreOrder?: boolean;
/**
* Inserts `<link>` at the given position (https://github.com/faceyspacey/extract-css-chunks-webpack-pluginn#insert).
*/
insert?: string | Function;
}
}
export = ExtractCssChunksPlugin;
}