@@ -48,10 +48,15 @@ exports[`validate options should throw an error on the "modules" option with "{"
48
48
- options.modules.context should be a string."
49
49
` ;
50
50
51
+ exports [` validate options should throw an error on the "modules" option with "{ " exportGlobals" :" invalid" } " value 1` ] = `
52
+ "Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
53
+ - options.modules.exportGlobals should be a boolean."
54
+ ` ;
55
+
51
56
exports [` validate options should throw an error on the "modules" option with "{ " getLocalIdent" :[]} " value 1` ] = `
52
57
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
53
58
- options.modules should be one of these:
54
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
59
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
55
60
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
56
61
Details :
57
62
* options .modules .getLocalIdent should be one of these :
@@ -74,7 +79,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
74
79
exports [` validate options should throw an error on the "modules" option with "{ " localIdentRegExp" :true } " value 1` ] = `
75
80
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
76
81
- options.modules should be one of these:
77
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
82
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
78
83
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
79
84
Details :
80
85
* options .modules .localIdentRegExp should be one of these :
@@ -87,7 +92,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
87
92
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" globals" } " value 1` ] = `
88
93
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
89
94
- options.modules should be one of these:
90
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
95
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
91
96
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
92
97
Details :
93
98
* options .modules .mode should be one of these :
@@ -101,7 +106,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
101
106
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" locals" } " value 1` ] = `
102
107
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
103
108
- options.modules should be one of these:
104
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
109
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
105
110
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
106
111
Details :
107
112
* options .modules .mode should be one of these :
@@ -115,7 +120,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
115
120
exports [` validate options should throw an error on the "modules" option with "{ " mode" :" pures" } " value 1` ] = `
116
121
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
117
122
- options.modules should be one of these:
118
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
123
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
119
124
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
120
125
Details :
121
126
* options .modules .mode should be one of these :
@@ -129,7 +134,7 @@ exports[`validate options should throw an error on the "modules" option with "{"
129
134
exports [` validate options should throw an error on the "modules" option with "{ " mode" :true } " value 1` ] = `
130
135
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
131
136
- options.modules should be one of these:
132
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
137
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
133
138
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
134
139
Details :
135
140
* options .modules .mode should be one of these :
@@ -143,53 +148,53 @@ exports[`validate options should throw an error on the "modules" option with "{"
143
148
exports [` validate options should throw an error on the "modules" option with "globals" value 1` ] = `
144
149
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
145
150
- options.modules should be one of these:
146
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
151
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
147
152
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
148
153
Details :
149
154
* options .modules should be a boolean .
150
155
* options .modules should be one of these :
151
156
\\" local\\ " | \\" global\\ " | \\" pure\\ "
152
157
* options .modules should be an object :
153
- object { mode?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
158
+ object { mode?, exportGlobals?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
154
159
`;
155
160
156
161
exports [` validate options should throw an error on the "modules" option with "locals" value 1` ] = `
157
162
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
158
163
- options.modules should be one of these:
159
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
164
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
160
165
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
161
166
Details :
162
167
* options .modules should be a boolean .
163
168
* options .modules should be one of these :
164
169
\\" local\\ " | \\" global\\ " | \\" pure\\ "
165
170
* options .modules should be an object :
166
- object { mode?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
171
+ object { mode?, exportGlobals?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
167
172
`;
168
173
169
174
exports [` validate options should throw an error on the "modules" option with "pures" value 1` ] = `
170
175
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
171
176
- options.modules should be one of these:
172
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
177
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
173
178
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
174
179
Details :
175
180
* options .modules should be a boolean .
176
181
* options .modules should be one of these :
177
182
\\" local\\ " | \\" global\\ " | \\" pure\\ "
178
183
* options .modules should be an object :
179
- object { mode?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
184
+ object { mode?, exportGlobals?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
180
185
`;
181
186
182
187
exports [` validate options should throw an error on the "modules" option with "true" value 1` ] = `
183
188
"Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
184
189
- options.modules should be one of these:
185
- boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
190
+ boolean | \\ "local\\ " | \\ "global\\ " | \\ "pure\\ " | object { mode ? , exportGlobals ? , localIdentName ? , localIdentRegExp ? , context ? , hashPrefix ? , getLocalIdent ? }
186
191
- > Enables / Disables CSS Modules and their configuration (https :// github.com/webpack-contrib/css-loader#modules).
187
192
Details :
188
193
* options .modules should be a boolean .
189
194
* options .modules should be one of these :
190
195
\\" local\\ " | \\" global\\ " | \\" pure\\ "
191
196
* options .modules should be an object :
192
- object { mode?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
197
+ object { mode?, exportGlobals?, localIdentName?, localIdentRegExp?, context?, hashPrefix?, getLocalIdent? }"
193
198
`;
194
199
195
200
exports [` validate options should throw an error on the "onlyLocals" option with "true" value 1` ] = `
0 commit comments