1 | {
|
2 | "title": "Mini CSS Extract Plugin options",
|
3 | "type": "object",
|
4 | "additionalProperties": false,
|
5 | "properties": {
|
6 | "filename": {
|
7 | "anyOf": [
|
8 | {
|
9 | "type": "string"
|
10 | },
|
11 | {
|
12 | "instanceof": "Function"
|
13 | }
|
14 | ],
|
15 | "description": "This option determines the name of each output CSS file.",
|
16 | "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#filename"
|
17 | },
|
18 | "chunkFilename": {
|
19 | "anyOf": [
|
20 | {
|
21 | "type": "string"
|
22 | },
|
23 | {
|
24 | "instanceof": "Function"
|
25 | }
|
26 | ],
|
27 | "description": "This option determines the name of non-entry chunk files.",
|
28 | "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#chunkfilename"
|
29 | },
|
30 | "experimentalUseImportModule": {
|
31 | "type": "boolean",
|
32 | "description": "Enable the experimental importModule approach instead of using child compilers. This uses less memory and is faster.",
|
33 | "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#experimentaluseimportmodule"
|
34 | },
|
35 | "ignoreOrder": {
|
36 | "type": "boolean",
|
37 | "description": "Remove Order Warnings.",
|
38 | "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#ignoreorder"
|
39 | },
|
40 | "insert": {
|
41 | "description": "Inserts `<link>` at the given position.",
|
42 | "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#insert",
|
43 | "anyOf": [
|
44 | {
|
45 | "type": "string"
|
46 | },
|
47 | {
|
48 | "instanceof": "Function"
|
49 | }
|
50 | ]
|
51 | },
|
52 | "attributes": {
|
53 | "description": "Adds custom attributes to tag.",
|
54 | "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#attributes",
|
55 | "type": "object"
|
56 | },
|
57 | "linkType": {
|
58 | "anyOf": [
|
59 | {
|
60 | "enum": ["text/css"]
|
61 | },
|
62 | {
|
63 | "type": "boolean"
|
64 | }
|
65 | ],
|
66 | "description": "This option allows loading asynchronous chunks with a custom link type",
|
67 | "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#linktype"
|
68 | }
|
69 | }
|
70 | }
|