File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ Default: `false`
562
562
563
563
> ** Note**
564
564
>
565
- > This options will work only when you set ` namedExport ` to ` true ` in ` css-loader `
565
+ > This option will work only when you set ` namedExport ` to ` true ` in ` css-loader `
566
566
567
567
By default, ` mini-css-extract-plugin ` generates JS modules based on the ` esModule ` and ` namedExport ` options in ` css-loader ` .
568
568
Using the ` esModule ` and ` namedExport ` options will allow you to better optimize your code.
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments