UNPKG

3.34 kBJSONView Raw
1{
2 "additionalProperties": false,
3 "properties": {
4 "url": {
5 "description": "Enables/Disables 'url'/'image-set' functions handling (https://github.com/webpack-contrib/css-loader#url).",
6 "anyOf": [
7 {
8 "type": "boolean"
9 },
10 {
11 "instanceof": "Function"
12 }
13 ]
14 },
15 "import": {
16 "description": "Enables/Disables '@import' at-rules handling (https://github.com/webpack-contrib/css-loader#import).",
17 "anyOf": [
18 {
19 "type": "boolean"
20 },
21 {
22 "instanceof": "Function"
23 }
24 ]
25 },
26 "modules": {
27 "description": "Enables/Disables CSS Modules and their configuration (https://github.com/webpack-contrib/css-loader#modules).",
28 "anyOf": [
29 {
30 "type": "boolean"
31 },
32 {
33 "enum": ["local", "global", "pure"]
34 },
35 {
36 "type": "object",
37 "additionalProperties": false,
38 "properties": {
39 "auto": {
40 "anyOf": [
41 {
42 "instanceof": "RegExp"
43 },
44 {
45 "type": "boolean"
46 }
47 ]
48 },
49 "mode": {
50 "anyOf": [
51 {
52 "enum": ["local", "global", "pure"]
53 },
54 {
55 "instanceof": "Function"
56 }
57 ]
58 },
59 "exportGlobals": {
60 "type": "boolean"
61 },
62 "localIdentName": {
63 "type": "string"
64 },
65 "localIdentRegExp": {
66 "anyOf": [
67 {
68 "type": "string"
69 },
70 {
71 "instanceof": "RegExp"
72 }
73 ]
74 },
75 "context": {
76 "type": "string"
77 },
78 "hashPrefix": {
79 "type": "string"
80 },
81 "getLocalIdent": {
82 "anyOf": [
83 {
84 "type": "boolean"
85 },
86 {
87 "instanceof": "Function"
88 }
89 ]
90 }
91 }
92 }
93 ]
94 },
95 "sourceMap": {
96 "description": "Enables/Disables generation of source maps (https://github.com/webpack-contrib/css-loader#sourcemap).",
97 "type": "boolean"
98 },
99 "importLoaders": {
100 "description": "Enables/Disables or setups number of loaders applied before CSS loader (https://github.com/webpack-contrib/css-loader#importloaders).",
101 "anyOf": [
102 {
103 "type": "boolean"
104 },
105 {
106 "type": "integer"
107 }
108 ]
109 },
110 "localsConvention": {
111 "description": "Style of exported classnames (https://github.com/webpack-contrib/css-loader#localsconvention).",
112 "enum": ["asIs", "camelCase", "camelCaseOnly", "dashes", "dashesOnly"]
113 },
114 "onlyLocals": {
115 "description": "Export only locals (https://github.com/webpack-contrib/css-loader#onlylocals).",
116 "type": "boolean"
117 },
118 "esModule": {
119 "description": "Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule).",
120 "type": "boolean"
121 }
122 },
123 "type": "object"
124}