@@ -8,17 +8,32 @@ exports[`validate options should throw an error on the "attributes" option with
8
8
-> Read more at https://github.com/webpack-contrib/mini-css-extract-plugin#attributes"
9
9
` ;
10
10
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
+
11
21
exports [` validate options should throw an error on the "chunkFilename" option with "true" value 1` ] = `
12
22
"Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
13
23
- options.chunkFilename should be one of these:
14
- string | function
24
+ non-empty string | function
15
25
-> This option determines the name of non-entry chunk files.
16
26
-> Read more at https://github.com/webpack-contrib/mini-css-extract-plugin#chunkfilename
17
27
Details:
18
- * options.chunkFilename should be a string.
28
+ * options.chunkFilename should be a non-empty string.
19
29
* options.chunkFilename should be an instance of function."
20
30
` ;
21
31
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
+
22
37
exports [` validate options should throw an error on the "filename" option with "/styles/[name].css" value 1` ] = `
23
38
"Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
24
39
- options.filename: A relative path is expected. However, the provided value \\ "/styles/[name].css\\ " is an absolute path!"
0 commit comments