@@ -39,7 +39,7 @@ exports[`validate options should throw an error on the "importLoaders" option wi
39
39
exports [` validate options should throw an error on the "modules" option with "{ " auto" :" invalid" } " value 1` ] = `
40
40
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
41
41
- options.modules should be one of these:
42
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
42
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
43
43
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
44
44
Details :
45
45
* options .modules .auto should be one of these :
@@ -69,7 +69,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
69
69
exports [` validate options should throw an error on the "modules" option with "{ " getLocalIdent" :[]} " value 1` ] = `
70
70
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
71
71
- options.modules should be one of these:
72
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
72
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
73
73
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
74
74
Details :
75
75
* options .modules .getLocalIdent should be one of these :
@@ -79,9 +79,9 @@ exports[`validate options should throw an error on the "modules" option with "{"
79
79
* options.modules.getLocalIdent should be an instance of function ."
80
80
`;
81
81
82
- exports [` validate options should throw an error on the "modules" option with "{ " hashPrefix " :true } " value 1` ] = `
82
+ exports [` validate options should throw an error on the "modules" option with "{ " localIdentHashPrefix " :true } " value 1` ] = `
83
83
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
84
- - options.modules.hashPrefix should be a string."
84
+ - options.modules.localIdentHashPrefix should be a string."
85
85
` ;
86
86
87
87
exports [` validate options should throw an error on the "modules" option with "{ " localIdentName" :true } " value 1` ] = `
@@ -92,7 +92,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
92
92
exports [` validate options should throw an error on the "modules" option with "{ " localIdentRegExp" :true } " value 1` ] = `
93
93
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
94
94
- options.modules should be one of these:
95
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
95
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
96
96
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
97
97
Details :
98
98
* options .modules .localIdentRegExp should be one of these :
@@ -112,7 +112,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
112
112
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" globals" } " value 1` ] = `
113
113
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
114
114
- options.modules should be one of these:
115
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
115
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
116
116
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
117
117
Details :
118
118
* options .modules .mode should be one of these :
@@ -126,7 +126,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
126
126
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" locals" } " value 1` ] = `
127
127
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
128
128
- options.modules should be one of these:
129
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
129
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
130
130
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
131
131
Details :
132
132
* options .modules .mode should be one of these :
@@ -140,7 +140,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
140
140
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" pures" } " value 1` ] = `
141
141
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
142
142
- options.modules should be one of these:
143
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
143
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
144
144
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
145
145
Details :
146
146
* options .modules .mode should be one of these :
@@ -154,7 +154,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
154
154
exports [` validate options should throw an error on the "modules" option with "{ " mode" :true } " value 1` ] = `
155
155
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
156
156
- options.modules should be one of these:
157
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
157
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
158
158
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
159
159
Details :
160
160
* options .modules .mode should be one of these :
@@ -174,53 +174,53 @@ exports[`validate options should throw an error on the "modules" option with "{"
174
174
exports [` validate options should throw an error on the "modules" option with "globals" value 1` ] = `
175
175
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
176
176
- options.modules should be one of these:
177
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
177
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
178
178
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
179
179
Details :
180
180
* options .modules should be a boolean .
181
181
* options .modules should be one of these :
182
182
\\" local\\ " | \\" global\\ " | \\" pure\\ "
183
183
* options .modules should be an object :
184
- object { auto?, mode?, exportGlobals?, localIdentName?, localIdentRegExp ?, localsConvention ?, context ?, hashPrefix ?, getLocalIdent ?, namedExport?, exportOnlyLocals? }"
184
+ object { auto?, mode?, exportGlobals?, localIdentName?, context ?, localIdentHashPrefix ?, localIdentRegExp ?, getLocalIdent ?, localsConvention ?, namedExport?, exportOnlyLocals? }"
185
185
`;
186
186
187
187
exports [` validate options should throw an error on the "modules" option with "locals" value 1` ] = `
188
188
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
189
189
- options.modules should be one of these:
190
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
190
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
191
191
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
192
192
Details :
193
193
* options .modules should be a boolean .
194
194
* options .modules should be one of these :
195
195
\\" local\\ " | \\" global\\ " | \\" pure\\ "
196
196
* options .modules should be an object :
197
- object { auto?, mode?, exportGlobals?, localIdentName?, localIdentRegExp ?, localsConvention ?, context ?, hashPrefix ?, getLocalIdent ?, namedExport?, exportOnlyLocals? }"
197
+ object { auto?, mode?, exportGlobals?, localIdentName?, context ?, localIdentHashPrefix ?, localIdentRegExp ?, getLocalIdent ?, localsConvention ?, namedExport?, exportOnlyLocals? }"
198
198
`;
199
199
200
200
exports [` validate options should throw an error on the "modules" option with "pures" value 1` ] = `
201
201
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
202
202
- options.modules should be one of these:
203
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
203
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
204
204
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
205
205
Details :
206
206
* options .modules should be a boolean .
207
207
* options .modules should be one of these :
208
208
\\" local\\ " | \\" global\\ " | \\" pure\\ "
209
209
* options .modules should be an object :
210
- object { auto?, mode?, exportGlobals?, localIdentName?, localIdentRegExp ?, localsConvention ?, context ?, hashPrefix ?, getLocalIdent ?, namedExport?, exportOnlyLocals? }"
210
+ object { auto?, mode?, exportGlobals?, localIdentName?, context ?, localIdentHashPrefix ?, localIdentRegExp ?, getLocalIdent ?, localsConvention ?, namedExport?, exportOnlyLocals? }"
211
211
`;
212
212
213
213
exports [` validate options should throw an error on the "modules" option with "true" value 1` ] = `
214
214
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
215
215
- options.modules should be one of these:
216
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , localsConvention ? , context ? , hashPrefix ? , getLocalIdent ? , namedExport ? , exportOnlyLocals ? }
216
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { auto ? , mode ? , exportGlobals ? , localIdentName ? , context ? , localIdentHashPrefix ? , localIdentRegExp ? , getLocalIdent ? , localsConvention ? , namedExport ? , exportOnlyLocals ? }
217
217
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
218
218
Details :
219
219
* options .modules should be a boolean .
220
220
* options .modules should be one of these :
221
221
\\" local\\ " | \\" global\\ " | \\" pure\\ "
222
222
* options .modules should be an object :
223
- object { auto?, mode?, exportGlobals?, localIdentName?, localIdentRegExp ?, localsConvention ?, context ?, hashPrefix ?, getLocalIdent ?, namedExport?, exportOnlyLocals? }"
223
+ object { auto?, mode?, exportGlobals?, localIdentName?, context ?, localIdentHashPrefix ?, localIdentRegExp ?, getLocalIdent ?, localsConvention ?, namedExport?, exportOnlyLocals? }"
224
224
`;
225
225
226
226
exports [` validate options should throw an error on the "sourceMap" option with "true" value 1` ] = `
0 commit comments