You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/__snapshots__/validate-plugin-options.test.js.snap
+14-8
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,12 @@ exports[`validate options should throw an error on the "chunkFilename" option wi
16
16
* options.chunkFilename should be an instance of function."
17
17
`;
18
18
19
+
exports[`validate options should throw an error on the "emitFile" option with "1" value 1`] =`
20
+
"Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
21
+
- options.emitFile should be a boolean.
22
+
-> If true, emits a file (writes a file to the filesystem). If false, the plugin will extract the CSS but will not emit the file. It is often useful to disable this option for server-side packages. (https://github.com/webpack-contrib/mini-css-extract-plugin#emitFile)."
23
+
`;
24
+
19
25
exports[`validate options should throw an error on the "filename" option with "true" value 1`] =`
20
26
"Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
21
27
- options.filename should be one of these:
@@ -99,47 +105,47 @@ exports[`validate options should throw an error on the "linkType" option with "i
99
105
exports[`validate options should throw an error on the "unknown" option with "/test/" value 1`] = `
100
106
"Invalid options object. Mini CSS Extract Plugin has been initialized using an options object that does not match the API schema.
101
107
- options has an unknown property 'unknown'. These properties are valid:
0 commit comments