@@ -1042,6 +1042,116 @@ Array [
1042
1042
1043
1043
exports [` "modules" option should should work with two leading underscore: warnings 1` ] = ` Array []` ;
1044
1044
1045
+ exports [` "modules" option should support resolving in composes preprocessor files with extensions: errors 1` ] = ` Array []` ;
1046
+
1047
+ exports [` "modules" option should support resolving in composes preprocessor files with extensions: module 1` ] = `
1048
+ "// Imports
1049
+ var ___CSS_LOADER_API_IMPORT___ = require(\\ "../../../../src/runtime/api.js\\ ");
1050
+ var ___CSS_LOADER_ICSS_IMPORT_0___ = require(\\ "-!../../../../src/index.js??[ident]!./values.css\\ ");
1051
+ var ___CSS_LOADER_ICSS_IMPORT_1___ = require(\\ "-!../../../../src/index.js??[ident]!./less-file.less\\ ");
1052
+ var ___CSS_LOADER_ICSS_IMPORT_2___ = require(\\ "-!../../../../src/index.js??[ident]!./scss-file.scss\\ ");
1053
+ var ___CSS_LOADER_ICSS_IMPORT_3___ = require(\\ "-!../../../../src/index.js??[ident]!./sass-file.sass\\ ");
1054
+ exports = ___CSS_LOADER_API_IMPORT___(false);
1055
+ exports.i(___CSS_LOADER_ICSS_IMPORT_0___, \\ "\\ ", true);
1056
+ exports.i(___CSS_LOADER_ICSS_IMPORT_1___, \\ "\\ ", true);
1057
+ exports.i(___CSS_LOADER_ICSS_IMPORT_2___, \\ "\\ ", true);
1058
+ exports.i(___CSS_LOADER_ICSS_IMPORT_3___, \\ "\\ ", true);
1059
+ // Module
1060
+ exports.push([module.id, \\ ".globalClassName { \\\\n color : orange ;\\\\n } \\\\ n\\\\ n._2vZioV5tEV-AlqaI8c_mtN { \\\\n color : \\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\\ " v - def \\" ] + \\ " ;\\\\n } \\\\ n\\\\ n.YX1POP6L7ESwR7pdtyRna { \\\\n color : \\" + ___CSS_LOADER_ICSS_IMPORT_1___.locals[\\ " v - foo \\" ] + \\ " ;\\\\n } \\\\ n\\\\ n._1578mz8iEiOG2qNa19R11c { \\\\n color : \\" + ___CSS_LOADER_ICSS_IMPORT_2___.locals[\\ " v - bar \\" ] + \\ " ;\\\\n } \\\\ n\\\\ n._1yWiOyfH6HuDl7TOzpnWkK { \\\\n color : \\" + ___CSS_LOADER_ICSS_IMPORT_3___.locals[\\ " v - baz \\" ] + \\ " ;\\\\n } \\\\ n\\\\ n.OVj95yO5B9JEdIo3xDMtO { \\\\n background : #000 ;\\\\n } \\\\ n\\ ", \\ "\\ "]);
1061
+ // Exports
1062
+ exports.locals = {
1063
+ \\" v-def\\ " : \\" \\ " + ___CSS_LOADER_ICSS_IMPORT_0___ .locals [\\" v-def\\ " ] + \\" \\ " ,
1064
+ \\" v-foo\\ " : \\" \\ " + ___CSS_LOADER_ICSS_IMPORT_1___ .locals [\\" v-foo\\ " ] + \\" \\ " ,
1065
+ \\" v-bar\\ " : \\" \\ " + ___CSS_LOADER_ICSS_IMPORT_2___ .locals [\\" v-bar\\ " ] + \\" \\ " ,
1066
+ \\" v-baz\\ " : \\" \\ " + ___CSS_LOADER_ICSS_IMPORT_3___ .locals [\\" v-baz\\ " ] + \\" \\ " ,
1067
+ \\" globalClassName\\ " : \\" globalClassName\\ " ,
1068
+ \\" ghi\\ " : \\" _2vZioV5tEV-AlqaI8c_mtN\\ " ,
1069
+ \\" class\\ " : \\" YX1POP6L7ESwR7pdtyRna \\ " + ___CSS_LOADER_ICSS_IMPORT_1___ .locals [\\" lessClass\\ " ] + \\" \\ " ,
1070
+ \\" other\\ " : \\" _1578mz8iEiOG2qNa19R11c \\ " + ___CSS_LOADER_ICSS_IMPORT_2___ .locals [\\" scssClass\\ " ] + \\" \\ " ,
1071
+ \\" last\\ " : \\" _1yWiOyfH6HuDl7TOzpnWkK \\ " + ___CSS_LOADER_ICSS_IMPORT_3___ .locals [\\" sassClass\\ " ] + \\" \\ " ,
1072
+ \\" otherClassName\\ " : \\" OVj95yO5B9JEdIo3xDMtO globalClassName\\ "
1073
+ } ;
1074
+ module.exports = exports;
1075
+ "
1076
+ ` ;
1077
+
1078
+ exports [` "modules" option should support resolving in composes preprocessor files with extensions: result 1` ] = `
1079
+ Array [
1080
+ Array [
1081
+ "../../src/index.js?[ident]!./modules/composes/values.css",
1082
+ "
1083
+ ",
1084
+ "",
1085
+ ],
1086
+ Array [
1087
+ "../../src/index.js?[ident]!./modules/composes/less-file.less",
1088
+ "._3lZeyjNxPePITWh1xVieTf {
1089
+ padding : 5px ;
1090
+ }
1091
+ ",
1092
+ "",
1093
+ ],
1094
+ Array [
1095
+ "../../src/index.js?[ident]!./modules/composes/scss-file.scss",
1096
+ "._228B9eI0iy8oD-AJowJJdF {
1097
+ padding : 15px ;
1098
+ }
1099
+ ",
1100
+ "",
1101
+ ],
1102
+ Array [
1103
+ "../../src/index.js?[ident]!./modules/composes/sass-file.sass",
1104
+ "
1105
+
1106
+ ",
1107
+ "",
1108
+ ],
1109
+ Array [
1110
+ "./modules/composes/composes-preprocessors.css",
1111
+ ".globalClassName {
1112
+ color : orange ;
1113
+ }
1114
+
1115
+ ._2vZioV5tEV-AlqaI8c_mtN {
1116
+ color : red ;
1117
+ }
1118
+
1119
+ .YX1POP6L7ESwR7pdtyRna {
1120
+ color : green ;
1121
+ }
1122
+
1123
+ ._1578mz8iEiOG2qNa19R11c {
1124
+ color : white ;
1125
+ }
1126
+
1127
+ ._1yWiOyfH6HuDl7TOzpnWkK {
1128
+ color : undefined ;
1129
+ }
1130
+
1131
+ .OVj95yO5B9JEdIo3xDMtO {
1132
+ background : #000 ;
1133
+ }
1134
+ ",
1135
+ "",
1136
+ ],
1137
+ ]
1138
+ ` ;
1139
+
1140
+ exports [` "modules" option should support resolving in composes preprocessor files with extensions: warnings 1` ] = `
1141
+ Array [
1142
+ "ModuleWarning: Module Warning (from \` replaced original path\` ):
1143
+ Warning
1144
+
1145
+ Invalid value definition: v-def: red
1146
+ @value v-foo: green
1147
+ @value v-bar: white
1148
+ @value v-baz: coral
1149
+
1150
+ .sassClass
1151
+ padding: 10px",
1152
+ ]
1153
+ ` ;
1154
+
1045
1155
exports [` "modules" option should support resolving in composes: errors 1` ] = ` Array []` ;
1046
1156
1047
1157
exports [` "modules" option should support resolving in composes: module 1` ] = `
0 commit comments