@@ -6,6 +6,18 @@ exports[`validate options should throw an error on the "esModule" option with "t
6
6
-> Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule)."
7
7
` ;
8
8
9
+ exports [` validate options should throw an error on the "icss" option with "1" value 1` ] = `
10
+ "Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
11
+ - options.icss should be a boolean.
12
+ -> Enables/Disables handling the CSS module interoperable import/export format ((https://github.com/webpack-contrib/css-loader#icss)"
13
+ ` ;
14
+
15
+ exports [` validate options should throw an error on the "icss" option with "true" value 1` ] = `
16
+ "Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
17
+ - options.icss should be a boolean.
18
+ -> Enables/Disables handling the CSS module interoperable import/export format ((https://github.com/webpack-contrib/css-loader#icss)"
19
+ ` ;
20
+
9
21
exports [` validate options should throw an error on the "import" option with "true" value 1` ] = `
10
22
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
11
23
- options.import should be one of these:
@@ -235,49 +247,49 @@ exports[`validate options should throw an error on the "sourceMap" option with "
235
247
exports [` validate options should throw an error on the "unknown" option with "/test/" value 1` ] = `
236
248
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
237
249
- options has an unknown property 'unknown'. These properties are valid:
238
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
250
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
239
251
`;
240
252
241
253
exports [` validate options should throw an error on the "unknown" option with "[]" value 1` ] = `
242
254
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
243
255
- options has an unknown property 'unknown'. These properties are valid:
244
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
256
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
245
257
`;
246
258
247
259
exports [` validate options should throw an error on the "unknown" option with "{ " foo" :" bar" } " value 1` ] = `
248
260
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
249
261
- options has an unknown property 'unknown'. These properties are valid:
250
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
262
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
251
263
`;
252
264
253
265
exports [` validate options should throw an error on the "unknown" option with "{ } " value 1` ] = `
254
266
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
255
267
- options has an unknown property 'unknown'. These properties are valid:
256
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
268
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
257
269
`;
258
270
259
271
exports [` validate options should throw an error on the "unknown" option with "1" value 1` ] = `
260
272
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
261
273
- options has an unknown property 'unknown'. These properties are valid:
262
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
274
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
263
275
`;
264
276
265
277
exports [` validate options should throw an error on the "unknown" option with "false" value 1` ] = `
266
278
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
267
279
- options has an unknown property 'unknown'. These properties are valid:
268
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
280
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
269
281
`;
270
282
271
283
exports [` validate options should throw an error on the "unknown" option with "test" value 1` ] = `
272
284
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
273
285
- options has an unknown property 'unknown'. These properties are valid:
274
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
286
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
275
287
`;
276
288
277
289
exports [` validate options should throw an error on the "unknown" option with "true" value 1` ] = `
278
290
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
279
291
- options has an unknown property 'unknown'. These properties are valid:
280
- object { url ? , import ? , modules ? , sourceMap ? , importLoaders ? , esModule ? }"
292
+ object { url ? , import ? , modules ? , icss ? , sourceMap ? , importLoaders ? , esModule ? }"
281
293
`;
282
294
283
295
exports [` validate options should throw an error on the "url" option with "true" value 1` ] = `
0 commit comments