@@ -6,6 +6,18 @@ exports[`validate options should throw an error on the "esModule" option with "t
66 -> Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule)."
77` ;
88
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+
921exports [` validate options should throw an error on the "import" option with "true" value 1` ] = `
1022"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
1123 - options.import should be one of these:
@@ -235,49 +247,49 @@ exports[`validate options should throw an error on the "sourceMap" option with "
235247exports [` validate options should throw an error on the "unknown" option with "/test/" value 1` ] = `
236248"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
237249 - 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 ? }"
239251`;
240252
241253exports [` validate options should throw an error on the "unknown" option with "[]" value 1` ] = `
242254"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
243255 - 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 ? }"
245257`;
246258
247259exports [` validate options should throw an error on the "unknown" option with "{ " foo" :" bar" } " value 1` ] = `
248260"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
249261 - 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 ? }"
251263`;
252264
253265exports [` validate options should throw an error on the "unknown" option with "{ } " value 1` ] = `
254266"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
255267 - 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 ? }"
257269`;
258270
259271exports [` validate options should throw an error on the "unknown" option with "1" value 1` ] = `
260272"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
261273 - 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 ? }"
263275`;
264276
265277exports [` validate options should throw an error on the "unknown" option with "false" value 1` ] = `
266278"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
267279 - 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 ? }"
269281`;
270282
271283exports [` validate options should throw an error on the "unknown" option with "test" value 1` ] = `
272284"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
273285 - 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 ? }"
275287`;
276288
277289exports [` validate options should throw an error on the "unknown" option with "true" value 1` ] = `
278290"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
279291 - 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 ? }"
281293`;
282294
283295exports [` validate options should throw an error on the "url" option with "true" value 1` ] = `
0 commit comments