@@ -51,7 +51,7 @@ exports[`validate options should throw an error on the "importLoaders" option wi
51
51
exports [` validate options should throw an error on the "modules" option with "{ " auto" :" invalid" } " value 1` ] = `
52
52
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
53
53
- options.modules should be one of these:
54
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
54
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
55
55
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
56
56
Details :
57
57
* options .modules .auto should be one of these :
@@ -63,6 +63,13 @@ exports[`validate options should throw an error on the "modules" option with "{"
63
63
* options .modules .auto should be a boolean ."
64
64
`;
65
65
66
+ exports [`validate options should throw an error on the "modules " option with "{" compileType" :"unknown "}" value 1`] = `
67
+ "Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
68
+ - options.modules.compileType should be one of these:
69
+ \\ "module\\ " | \\ "icss\\ "
70
+ -> Controls the extent to which css-loader will process module code (https://github.com/webpack-contrib/css-loader#type)"
71
+ ` ;
72
+
66
73
exports [`validate options should throw an error on the "modules " option with "{" exportGlobals" :"invalid "}" value 1`] = `
67
74
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
68
75
- options.modules.exportGlobals should be a boolean.
@@ -109,7 +116,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
109
116
exports [`validate options should throw an error on the "modules " option with "{" localIdentRegExp" :true }" value 1`] = `
110
117
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
111
118
- options.modules should be one of these:
112
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
119
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
113
120
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
114
121
Details :
115
122
* options .modules .localIdentRegExp should be one of these :
@@ -123,7 +130,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
123
130
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" globals" } " value 1` ] = `
124
131
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
125
132
- options.modules should be one of these:
126
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
133
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
127
134
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
128
135
Details :
129
136
* options .modules .mode should be one of these :
@@ -138,7 +145,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
138
145
exports [`validate options should throw an error on the "modules " option with "{" mode" :"locals "}" value 1`] = `
139
146
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
140
147
- options.modules should be one of these:
141
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
148
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
142
149
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
143
150
Details :
144
151
* options .modules .mode should be one of these :
@@ -153,7 +160,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
153
160
exports [`validate options should throw an error on the "modules " option with "{" mode" :"pures "}" value 1`] = `
154
161
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
155
162
- options.modules should be one of these:
156
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
163
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
157
164
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
158
165
Details :
159
166
* options .modules .mode should be one of these :
@@ -168,7 +175,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
168
175
exports [`validate options should throw an error on the "modules " option with "{" mode" :true }" value 1`] = `
169
176
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
170
177
- options.modules should be one of these:
171
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
178
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
172
179
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
173
180
Details :
174
181
* options .modules .mode should be one of these :
@@ -189,53 +196,53 @@ exports[`validate options should throw an error on the "modules" option with "{"
189
196
exports [`validate options should throw an error on the "modules " option with "globals " value 1`] = `
190
197
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
191
198
- options.modules should be one of these:
192
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
199
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
193
200
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
194
201
Details :
195
202
* options .modules should be a boolean .
196
203
* options .modules should be one of these :
197
204
\\" local\\ " | \\" global\\ " | \\" pure\\ "
198
205
* options .modules should be an object :
199
- object { auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
206
+ object { compileType?, auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
200
207
`;
201
208
202
209
exports [` validate options should throw an error on the "modules" option with "locals" value 1` ] = `
203
210
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
204
211
- options.modules should be one of these:
205
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
212
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
206
213
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
207
214
Details :
208
215
* options .modules should be a boolean .
209
216
* options .modules should be one of these :
210
217
\\" local\\ " | \\" global\\ " | \\" pure\\ "
211
218
* options .modules should be an object :
212
- object { auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
219
+ object { compileType?, auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
213
220
`;
214
221
215
222
exports [` validate options should throw an error on the "modules" option with "pures" value 1` ] = `
216
223
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
217
224
- options.modules should be one of these:
218
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
225
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
219
226
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
220
227
Details :
221
228
* options .modules should be a boolean .
222
229
* options .modules should be one of these :
223
230
\\" local\\ " | \\" global\\ " | \\" pure\\ "
224
231
* options .modules should be an object :
225
- object { auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
232
+ object { compileType?, auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
226
233
`;
227
234
228
235
exports [` validate options should throw an error on the "modules" option with "true" value 1` ] = `
229
236
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
230
237
- options.modules should be one of these:
231
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
238
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { compileType ? , auto ? , mode ? , localIdentName ? , localIdentContext ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , namedExport ? , exportGlobals ? , exportLocalsConvention ? , exportOnlyLocals ? }
232
239
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
233
240
Details :
234
241
* options .modules should be a boolean .
235
242
* options .modules should be one of these :
236
243
\\" local\\ " | \\" global\\ " | \\" pure\\ "
237
244
* options .modules should be an object :
238
- object { auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
245
+ object { compileType?, auto?, mode?, localIdentName?, localIdentContext?, localIdentHashPrefix?, localIdentRegExp?, getLocalIdent?, namedExport?, exportGlobals?, exportLocalsConvention?, exportOnlyLocals? }"
239
246
`;
240
247
241
248
exports [` validate options should throw an error on the "sourceMap" option with "true" value 1` ] = `
0 commit comments