1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+ exports [` validate options should throw an error on the "defaultExport" option with "1" value 1` ] = `
4
+ "Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
5
+ - options.defaultExport should be a boolean.
6
+ -> Duplicate the named export with CSS modules locals to the default export (only when \` esModules: true\` for css-loader).
7
+ -> Read more at https://github.com/webpack-contrib/mini-css-extract-plugin#defaultexports"
8
+ ` ;
9
+
3
10
exports [` validate options should throw an error on the "esModule" option with "1" value 1` ] = `
4
11
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
5
12
- options.esModule should be a boolean.
@@ -21,47 +28,47 @@ exports[`validate options should throw an error on the "publicPath" option with
21
28
exports [` validate options should throw an error on the "unknown" option with "/test/" value 1` ] = `
22
29
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
23
30
- options has an unknown property 'unknown'. These properties are valid:
24
- object { publicPath ? , emit ? , esModule ? , layer ? }"
31
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
25
32
`;
26
33
27
34
exports [` validate options should throw an error on the "unknown" option with "[]" value 1` ] = `
28
35
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
29
36
- options has an unknown property 'unknown'. These properties are valid:
30
- object { publicPath ? , emit ? , esModule ? , layer ? }"
37
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
31
38
`;
32
39
33
40
exports [` validate options should throw an error on the "unknown" option with "{ " foo" :" bar" } " value 1` ] = `
34
41
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
35
42
- options has an unknown property 'unknown'. These properties are valid:
36
- object { publicPath ? , emit ? , esModule ? , layer ? }"
43
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
37
44
`;
38
45
39
46
exports [` validate options should throw an error on the "unknown" option with "{ } " value 1` ] = `
40
47
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
41
48
- options has an unknown property 'unknown'. These properties are valid:
42
- object { publicPath ? , emit ? , esModule ? , layer ? }"
49
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
43
50
`;
44
51
45
52
exports [` validate options should throw an error on the "unknown" option with "1" value 1` ] = `
46
53
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
47
54
- options has an unknown property 'unknown'. These properties are valid:
48
- object { publicPath ? , emit ? , esModule ? , layer ? }"
55
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
49
56
`;
50
57
51
58
exports [` validate options should throw an error on the "unknown" option with "false" value 1` ] = `
52
59
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
53
60
- options has an unknown property 'unknown'. These properties are valid:
54
- object { publicPath ? , emit ? , esModule ? , layer ? }"
61
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
55
62
`;
56
63
57
64
exports [` validate options should throw an error on the "unknown" option with "test" value 1` ] = `
58
65
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
59
66
- options has an unknown property 'unknown'. These properties are valid:
60
- object { publicPath ? , emit ? , esModule ? , layer ? }"
67
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
61
68
`;
62
69
63
70
exports [` validate options should throw an error on the "unknown" option with "true" value 1` ] = `
64
71
"Invalid options object. Mini CSS Extract Plugin Loader has been initialized using an options object that does not match the API schema.
65
72
- options has an unknown property 'unknown'. These properties are valid:
66
- object { publicPath ? , emit ? , esModule ? , layer ? }"
73
+ object { publicPath ? , emit ? , esModule ? , layer ? , defaultExport ? }"
67
74
`;
0 commit comments