@@ -86,26 +86,58 @@ exports[`validate options should throw an error on the "modules" option with "{"
86
86
87
87
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" globals" } " value 1` ] = `
88
88
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
89
- - options.modules.mode should be one of these:
90
- \\ "local\\ " | \\ "global\\ " | \\ "pure\\ ""
89
+ - options.modules should be one of these:
90
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
91
+ - > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
92
+ Details :
93
+ * options .modules .mode should be one of these :
94
+ \\" local\\ " | \\" global\\ " | \\" pure\\ " | function
95
+ Details:
96
+ * options.modules.mode should be one of these:
97
+ \\"local\\" | \\"global\\" | \\"pure\\"
98
+ * options.modules.mode should be an instance of function ."
91
99
`;
92
100
93
101
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" locals" } " value 1` ] = `
94
102
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
95
- - options.modules.mode should be one of these:
96
- \\ "local\\ " | \\ "global\\ " | \\ "pure\\ ""
103
+ - options.modules should be one of these:
104
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
105
+ - > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
106
+ Details :
107
+ * options .modules .mode should be one of these :
108
+ \\" local\\ " | \\" global\\ " | \\" pure\\ " | function
109
+ Details:
110
+ * options.modules.mode should be one of these:
111
+ \\"local\\" | \\"global\\" | \\"pure\\"
112
+ * options.modules.mode should be an instance of function ."
97
113
`;
98
114
99
115
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" pures" } " value 1` ] = `
100
116
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
101
- - options.modules.mode should be one of these:
102
- \\ "local\\ " | \\ "global\\ " | \\ "pure\\ ""
117
+ - options.modules should be one of these:
118
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
119
+ - > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
120
+ Details :
121
+ * options .modules .mode should be one of these :
122
+ \\" local\\ " | \\" global\\ " | \\" pure\\ " | function
123
+ Details:
124
+ * options.modules.mode should be one of these:
125
+ \\"local\\" | \\"global\\" | \\"pure\\"
126
+ * options.modules.mode should be an instance of function ."
103
127
`;
104
128
105
129
exports [` validate options should throw an error on the "modules" option with "{ " mode" :true } " value 1` ] = `
106
130
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
107
- - options.modules.mode should be one of these:
108
- \\ "local\\ " | \\ "global\\ " | \\ "pure\\ ""
131
+ - options.modules should be one of these:
132
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
133
+ - > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
134
+ Details :
135
+ * options .modules .mode should be one of these :
136
+ \\" local\\ " | \\" global\\ " | \\" pure\\ " | function
137
+ Details:
138
+ * options.modules.mode should be one of these:
139
+ \\"local\\" | \\"global\\" | \\"pure\\"
140
+ * options.modules.mode should be an instance of function ."
109
141
`;
110
142
111
143
exports [` validate options should throw an error on the "modules" option with "globals" value 1` ] = `
0 commit comments