@@ -3148,9 +3148,9 @@ Array [
3148
3148
3149
3149
exports [` "modules" option should work when the "getLocalIdent" option returns "false": warnings 1` ] = ` Array []` ;
3150
3150
3151
- exports [` "modules" option should work with a modules.auto equal "false": errors 1` ] = ` Array []` ;
3151
+ exports [` "modules" option should work with a modules.auto Boolean that is "false": errors 1` ] = ` Array []` ;
3152
3152
3153
- exports [` "modules" option should work with a modules.auto equal "false": module 1` ] = `
3153
+ exports [` "modules" option should work with a modules.auto Boolean that is "false": module 1` ] = `
3154
3154
"// Imports
3155
3155
var ___CSS_LOADER_API_IMPORT___ = require(\\ "../../../../src/runtime/api.js\\ ");
3156
3156
exports = ___CSS_LOADER_API_IMPORT___(false);
@@ -3161,7 +3161,7 @@ module.exports = exports;
3161
3161
"
3162
3162
` ;
3163
3163
3164
- exports [` "modules" option should work with a modules.auto equal "false": result 1` ] = `
3164
+ exports [` "modules" option should work with a modules.auto Boolean that is "false": result 1` ] = `
3165
3165
Array [
3166
3166
Array [
3167
3167
"./modules/mode/relative.module.css",
@@ -3174,11 +3174,11 @@ Array [
3174
3174
]
3175
3175
` ;
3176
3176
3177
- exports [` "modules" option should work with a modules.auto equal "false": warnings 1` ] = ` Array []` ;
3177
+ exports [` "modules" option should work with a modules.auto Boolean that is "false": warnings 1` ] = ` Array []` ;
3178
3178
3179
- exports [` "modules" option should work with a modules.auto equal "true": errors 1` ] = ` Array []` ;
3179
+ exports [` "modules" option should work with a modules.auto Boolean that is "true": errors 1` ] = ` Array []` ;
3180
3180
3181
- exports [` "modules" option should work with a modules.auto equal "true": module 1` ] = `
3181
+ exports [` "modules" option should work with a modules.auto Boolean that is "true": module 1` ] = `
3182
3182
"// Imports
3183
3183
var ___CSS_LOADER_API_IMPORT___ = require(\\ "../../../../src/runtime/api.js\\ ");
3184
3184
exports = ___CSS_LOADER_API_IMPORT___(false);
@@ -3192,7 +3192,7 @@ module.exports = exports;
3192
3192
"
3193
3193
` ;
3194
3194
3195
- exports [` "modules" option should work with a modules.auto equal "true": result 1` ] = `
3195
+ exports [` "modules" option should work with a modules.auto Boolean that is "true": result 1` ] = `
3196
3196
Array [
3197
3197
Array [
3198
3198
"./modules/mode/relative.module.css",
@@ -3205,11 +3205,11 @@ Array [
3205
3205
]
3206
3206
` ;
3207
3207
3208
- exports [` "modules" option should work with a modules.auto equal "true": warnings 1` ] = ` Array []` ;
3208
+ exports [` "modules" option should work with a modules.auto Boolean that is "true": warnings 1` ] = ` Array []` ;
3209
3209
3210
- exports [` "modules" option should work with a modules.auto returns "false": errors 1` ] = ` Array []` ;
3210
+ exports [` "modules" option should work with a modules.auto Function that returns "false": errors 1` ] = ` Array []` ;
3211
3211
3212
- exports [` "modules" option should work with a modules.auto returns "false": module 1` ] = `
3212
+ exports [` "modules" option should work with a modules.auto Function that returns "false": module 1` ] = `
3213
3213
"// Imports
3214
3214
var ___CSS_LOADER_API_IMPORT___ = require(\\ "../../../../src/runtime/api.js\\ ");
3215
3215
exports = ___CSS_LOADER_API_IMPORT___(false);
@@ -3220,7 +3220,7 @@ module.exports = exports;
3220
3220
"
3221
3221
` ;
3222
3222
3223
- exports [` "modules" option should work with a modules.auto returns "false": result 1` ] = `
3223
+ exports [` "modules" option should work with a modules.auto Function that returns "false": result 1` ] = `
3224
3224
Array [
3225
3225
Array [
3226
3226
"./modules/mode/relative.module.css",
@@ -3233,11 +3233,11 @@ Array [
3233
3233
]
3234
3234
` ;
3235
3235
3236
- exports [` "modules" option should work with a modules.auto returns "false": warnings 1` ] = ` Array []` ;
3236
+ exports [` "modules" option should work with a modules.auto Function that returns "false": warnings 1` ] = ` Array []` ;
3237
3237
3238
- exports [` "modules" option should work with a modules.auto returns "true": errors 1` ] = ` Array []` ;
3238
+ exports [` "modules" option should work with a modules.auto Function that returns "true": errors 1` ] = ` Array []` ;
3239
3239
3240
- exports [` "modules" option should work with a modules.auto returns "true": module 1` ] = `
3240
+ exports [` "modules" option should work with a modules.auto Function that returns "true": module 1` ] = `
3241
3241
"// Imports
3242
3242
var ___CSS_LOADER_API_IMPORT___ = require(\\ "../../../../src/runtime/api.js\\ ");
3243
3243
exports = ___CSS_LOADER_API_IMPORT___(false);
@@ -3251,7 +3251,7 @@ module.exports = exports;
3251
3251
"
3252
3252
` ;
3253
3253
3254
- exports [` "modules" option should work with a modules.auto returns "true": result 1` ] = `
3254
+ exports [` "modules" option should work with a modules.auto Function that returns "true": result 1` ] = `
3255
3255
Array [
3256
3256
Array [
3257
3257
"./modules/mode/relative.module.css",
@@ -3264,7 +3264,66 @@ Array [
3264
3264
]
3265
3265
` ;
3266
3266
3267
- exports [` "modules" option should work with a modules.auto returns "true": warnings 1` ] = ` Array []` ;
3267
+ exports [` "modules" option should work with a modules.auto Function that returns "true": warnings 1` ] = ` Array []` ;
3268
+
3269
+ exports [` "modules" option should work with a modules.auto RegExp that returns "false": errors 1` ] = ` Array []` ;
3270
+
3271
+ exports [` "modules" option should work with a modules.auto RegExp that returns "false": module 1` ] = `
3272
+ "// Imports
3273
+ var ___CSS_LOADER_API_IMPORT___ = require(\\ "../../../../src/runtime/api.js\\ ");
3274
+ exports = ___CSS_LOADER_API_IMPORT___(false);
3275
+ // Module
3276
+ exports.push([module.id, \\ ".relative { \\\\n color : red ;\\\\n } \\\\ n\\ ", \\ "\\ "]);
3277
+ // Exports
3278
+ module.exports = exports;
3279
+ "
3280
+ ` ;
3281
+
3282
+ exports [` "modules" option should work with a modules.auto RegExp that returns "false": result 1` ] = `
3283
+ Array [
3284
+ Array [
3285
+ "./modules/mode/relative.module.css",
3286
+ ".relative {
3287
+ color : red ;
3288
+ }
3289
+ ",
3290
+ "",
3291
+ ],
3292
+ ]
3293
+ ` ;
3294
+
3295
+ exports [` "modules" option should work with a modules.auto RegExp that returns "false": warnings 1` ] = ` Array []` ;
3296
+
3297
+ exports [` "modules" option should work with a modules.auto RegExp that returns "true": errors 1` ] = ` Array []` ;
3298
+
3299
+ exports [` "modules" option should work with a modules.auto RegExp that returns "true": module 1` ] = `
3300
+ "// Imports
3301
+ var ___CSS_LOADER_API_IMPORT___ = require(\\ "../../../../src/runtime/api.js\\ ");
3302
+ exports = ___CSS_LOADER_API_IMPORT___(false);
3303
+ // Module
3304
+ exports.push([module.id, \\ ".y35Nud52-ZFXmqL6AWueX { \\\\n color : red ;\\\\n } \\\\ n\\ ", \\ "\\ "]);
3305
+ // Exports
3306
+ exports.locals = {
3307
+ \\" relative\\ " : \\" y35Nud52-ZFXmqL6AWueX\\ "
3308
+ } ;
3309
+ module.exports = exports;
3310
+ "
3311
+ ` ;
3312
+
3313
+ exports [` "modules" option should work with a modules.auto RegExp that returns "true": result 1` ] = `
3314
+ Array [
3315
+ Array [
3316
+ "./modules/mode/relative.module.css",
3317
+ ".y35Nud52-ZFXmqL6AWueX {
3318
+ color : red ;
3319
+ }
3320
+ ",
3321
+ "",
3322
+ ],
3323
+ ]
3324
+ ` ;
3325
+
3326
+ exports [` "modules" option should work with a modules.auto RegExp that returns "true": warnings 1` ] = ` Array []` ;
3268
3327
3269
3328
exports [` "modules" option should work with case \` animation\` (\` modules\` value is \` false)\` : errors 1` ] = ` Array []` ;
3270
3329
0 commit comments