| 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 | "absolutePath": false,
|
|---|
| 11 | "minLength": 1
|
|---|
| 12 | },
|
|---|
| 13 | {
|
|---|
| 14 | "instanceof": "Function"
|
|---|
| 15 | }
|
|---|
| 16 | ],
|
|---|
| 17 | "description": "This option determines the name of each output CSS file.",
|
|---|
| 18 | "link": "https://github.com/webpack/mini-css-extract-plugin#filename"
|
|---|
| 19 | },
|
|---|
| 20 | "chunkFilename": {
|
|---|
| 21 | "anyOf": [
|
|---|
| 22 | {
|
|---|
| 23 | "type": "string",
|
|---|
| 24 | "absolutePath": false,
|
|---|
| 25 | "minLength": 1
|
|---|
| 26 | },
|
|---|
| 27 | {
|
|---|
| 28 | "instanceof": "Function"
|
|---|
| 29 | }
|
|---|
| 30 | ],
|
|---|
| 31 | "description": "This option determines the name of non-entry chunk files.",
|
|---|
| 32 | "link": "https://github.com/webpack/mini-css-extract-plugin#chunkfilename"
|
|---|
| 33 | },
|
|---|
| 34 | "experimentalUseImportModule": {
|
|---|
| 35 | "type": "boolean",
|
|---|
| 36 | "description": "Enable the experimental importModule approach instead of using child compilers. This uses less memory and is faster.",
|
|---|
| 37 | "link": "https://github.com/webpack/mini-css-extract-plugin#experimentaluseimportmodule"
|
|---|
| 38 | },
|
|---|
| 39 | "ignoreOrder": {
|
|---|
| 40 | "type": "boolean",
|
|---|
| 41 | "description": "Remove Order Warnings.",
|
|---|
| 42 | "link": "https://github.com/webpack/mini-css-extract-plugin#ignoreorder"
|
|---|
| 43 | },
|
|---|
| 44 | "insert": {
|
|---|
| 45 | "description": "Inserts the `link` tag at the given position for non-initial (async) (https://webpack.js.org/concepts/under-the-hood/#chunks) CSS chunks.",
|
|---|
| 46 | "link": "https://github.com/webpack/mini-css-extract-plugin#insert",
|
|---|
| 47 | "anyOf": [
|
|---|
| 48 | {
|
|---|
| 49 | "type": "string"
|
|---|
| 50 | },
|
|---|
| 51 | {
|
|---|
| 52 | "instanceof": "Function"
|
|---|
| 53 | }
|
|---|
| 54 | ]
|
|---|
| 55 | },
|
|---|
| 56 | "attributes": {
|
|---|
| 57 | "description": "Adds custom attributes to the `link` tag for non-initial (async) (https://webpack.js.org/concepts/under-the-hood/#chunks) CSS chunks.",
|
|---|
| 58 | "link": "https://github.com/webpack/mini-css-extract-plugin#attributes",
|
|---|
| 59 | "type": "object"
|
|---|
| 60 | },
|
|---|
| 61 | "linkType": {
|
|---|
| 62 | "anyOf": [
|
|---|
| 63 | {
|
|---|
| 64 | "enum": ["text/css"]
|
|---|
| 65 | },
|
|---|
| 66 | {
|
|---|
| 67 | "type": "boolean"
|
|---|
| 68 | }
|
|---|
| 69 | ],
|
|---|
| 70 | "description": "This option allows loading asynchronous chunks with a custom link type",
|
|---|
| 71 | "link": "https://github.com/webpack/mini-css-extract-plugin#linktype"
|
|---|
| 72 | },
|
|---|
| 73 | "runtime": {
|
|---|
| 74 | "type": "boolean",
|
|---|
| 75 | "description": "Enabled/Disables runtime generation. CSS will be still extracted and can be used for a custom loading methods.",
|
|---|
| 76 | "link": "https://github.com/webpack/mini-css-extract-plugin#noRuntime"
|
|---|
| 77 | }
|
|---|
| 78 | }
|
|---|
| 79 | }
|
|---|