@@ -8,17 +8,32 @@ exports[`validate options should throw an error on the "attributes" option with
88 -> Read more at https://github.com/webpack-contrib/mini-css-extract-plugin#attributes"
99` ;
1010
11+ exports [` validate options should throw an error on the "chunkFilename" option with "" value 1` ] = `
12+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
13+ - options.chunkFilename should be a non-empty string."
14+ ` ;
15+
16+ exports [` validate options should throw an error on the "chunkFilename" option with "/styles/[id].css" value 1` ] = `
17+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
18+ - options.chunkFilename: A relative path is expected. However, the provided value \\ "/styles/[id].css\\ " is an absolute path!"
19+ ` ;
20+
1121exports [` validate options should throw an error on the "chunkFilename" option with "true" value 1` ] = `
1222"Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
1323 - options.chunkFilename should be one of these:
14- string | function
24+ non-empty string | function
1525 -> This option determines the name of non-entry chunk files.
1626 -> Read more at https://github.com/webpack-contrib/mini-css-extract-plugin#chunkfilename
1727 Details:
18- * options.chunkFilename should be a string.
28+ * options.chunkFilename should be a non-empty string.
1929 * options.chunkFilename should be an instance of function."
2030` ;
2131
32+ exports [` validate options should throw an error on the "filename" option with "" value 1` ] = `
33+ "Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
34+ - options.filename should be a non-empty string."
35+ ` ;
36+
2237exports [` validate options should throw an error on the "filename" option with "/styles/[name].css" value 1` ] = `
2338"Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
2439 - options.filename: A relative path is expected. However, the provided value \\ "/styles/[name].css\\ " is an absolute path!"
0 commit comments