UNPKG

2.56 kBJSONView Raw
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 the `link` tag at the given position for non-initial (async) (https://webpack.js.org/concepts/under-the-hood/#chunks) CSS chunks.",
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 the `link` tag for non-initial (async) (https://webpack.js.org/concepts/under-the-hood/#chunks) CSS chunks.",
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 "runtime": {
70 "type": "boolean",
71 "description": "Enabled/Disables runtime generation. CSS will be still extracted and can be used for a custom loading methods.",
72 "link": "https://github.com/webpack-contrib/mini-css-extract-plugin#noRuntime"
73 }
74 }
75}