@@ -188,15 +188,6 @@ exports[`loader should not alter the original options object: errors 1`] = `Arra
188
188
189
189
exports [`loader should not alter the original options object : warnings 1`] = ` Array []` ;
190
190
191
- exports [`loader should not resolve when resolve .restrictions no passed : errors 1`] = `
192
- Array [
193
- "ModuleBuildError: Module build failed (from \` replaced original path\` ):
194
- ",
195
- ]
196
- ` ;
197
-
198
- exports [`loader should not resolve when resolve .restrictions no passed : warnings 1`] = ` Array []` ;
199
-
200
191
exports [`loader should not to disable webpack 's resolver by passing an empty paths array : css 1`] = `
201
192
".img {
202
193
background : url (some / img .jpg );
@@ -237,20 +228,6 @@ exports[`loader should not try to resolve CSS imports with URLs: errors 1`] = `A
237
228
238
229
exports [`loader should not try to resolve CSS imports with URLs : warnings 1`] = ` Array []` ;
239
230
240
- exports [`loader should prefer a main file with "less " extension over main field with js file : css 1`] = `
241
- ".modules-dir-some-module {
242
- color : hotpink ;
243
- }
244
- .some-class {
245
- background : hotpink ;
246
- }
247
- "
248
- ` ;
249
-
250
- exports [`loader should prefer a main file with "less " extension over main field with js file : errors 1`] = ` Array []` ;
251
-
252
- exports [`loader should prefer a main file with "less " extension over main field with js file : warnings 1`] = ` Array []` ;
253
-
254
231
exports [`loader should provide a useful error message if the import could not be found : errors 1`] = `
255
232
Array [
256
233
"ModuleBuildError: Module build failed (from \` replaced original path\` ):
@@ -420,6 +397,17 @@ exports[`loader should resolve nested imports: errors 1`] = `Array []`;
420
397
421
398
exports [`loader should resolve nested imports : warnings 1`] = ` Array []` ;
422
399
400
+ exports [`loader should resolve non -less import with alias : css 1`] = `
401
+ ".some-file {
402
+ background : hotpink ;
403
+ }
404
+ "
405
+ ` ;
406
+
407
+ exports [`loader should resolve non -less import with alias : errors 1`] = ` Array []` ;
408
+
409
+ exports [`loader should resolve non -less import with alias : warnings 1`] = ` Array []` ;
410
+
423
411
exports [`loader should resolve unresolved url with alias : css 1`] = `
424
412
".box {
425
413
color : #fe33ac ;
0 commit comments