Skip to content

Commit e5a00a0

Browse files
committed
chore: update snapshots after merge with master
1 parent 289192e commit e5a00a0

File tree

1 file changed

+121
-4
lines changed

1 file changed

+121
-4
lines changed

test/__snapshots__/modules-option.test.js.snap

+121-4
Original file line numberDiff line numberDiff line change
@@ -10469,7 +10469,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, \`@scope (.kthHR5ALtmYK9QgapjA3) {
1046910469
}
1047010470
}
1047110471

10472-
@scope() {
10472+
@scope {
1047310473
:scope {
1047410474
color: red;
1047510475
}
@@ -10478,7 +10478,9 @@ ___CSS_LOADER_EXPORT___.push([module.id, \`@scope (.kthHR5ALtmYK9QgapjA3) {
1047810478
// Exports
1047910479
___CSS_LOADER_EXPORT___.locals = {
1048010480
\\"class-a\\": \`tHELZHxFZl5YuwVt1kmN\`,
10481-
\\"class-b\\": \`yv3SIfJTNkZjzBV3Fc0c\`
10481+
\\"class-b\\": \`yv3SIfJTNkZjzBV3Fc0c\`,
10482+
\\"light-scheme\\": \`kthHR5ALtmYK9QgapjA3\`,
10483+
\\"dark-scheme\\": \`kodeNqRFoMkWN6SDcuTu\`
1048210484
};
1048310485
export default ___CSS_LOADER_EXPORT___;
1048410486
"
@@ -10509,7 +10511,7 @@ Array [
1050910511
}
1051010512
}
1051110513

10512-
@scope() {
10514+
@scope {
1051310515
:scope {
1051410516
color: red;
1051510517
}
@@ -21167,7 +21169,122 @@ Array [
2116721169

2116821170
exports[`"modules" option should work with global compose: warnings 1`] = `Array []`;
2116921171

21170-
exports[`"modules" option should work with multiple compose: module 1`] = `undefined`;
21172+
exports[`"modules" option should work with multiple compose: errors 1`] = `Array []`;
21173+
21174+
exports[`"modules" option should work with multiple compose: module 1`] = `
21175+
"// Imports
21176+
import ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \\"../../../../src/runtime/noSourceMaps.js\\";
21177+
import ___CSS_LOADER_API_IMPORT___ from \\"../../../../src/runtime/api.js\\";
21178+
import ___CSS_LOADER_ICSS_IMPORT_0___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias.css\\";
21179+
import ___CSS_LOADER_ICSS_IMPORT_1___ from \\"-!../../../../src/index.js??ruleSet[1].rules[0].use[0]!./alias-1.css\\";
21180+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
21181+
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \\"\\", true);
21182+
___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_1___, \\"\\", true);
21183+
// Module
21184+
___CSS_LOADER_EXPORT___.push([module.id, \`.RsClSIMkfTMmUvwYT4aD {
21185+
color: red;
21186+
}
21187+
21188+
.OdpZEdUc2oHF96Xqdoba {
21189+
color: blue;
21190+
}
21191+
21192+
.A3lCTIjOyIaMw91SUTt_ {
21193+
color: blue;
21194+
}
21195+
21196+
.global-class {
21197+
padding: 10px;
21198+
}
21199+
21200+
.global-class-1 {
21201+
padding: 10px;
21202+
}
21203+
21204+
.global-class-2 {
21205+
padding: 10px;
21206+
}
21207+
21208+
.BwiLdQraIwYyRAA53QEQ {
21209+
color: gainsboro;
21210+
}
21211+
21212+
.DemABT8Zz2xVnnu848uO {
21213+
}
21214+
\`, \\"\\"]);
21215+
// Exports
21216+
___CSS_LOADER_EXPORT___.locals = {
21217+
\\"other-class\\": \`RsClSIMkfTMmUvwYT4aD\`,
21218+
\\"class-1\\": \`OdpZEdUc2oHF96Xqdoba\`,
21219+
\\"class-2\\": \`A3lCTIjOyIaMw91SUTt_\`,
21220+
\\"class\\": \`BwiLdQraIwYyRAA53QEQ RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba A3lCTIjOyIaMw91SUTt_ \${___CSS_LOADER_ICSS_IMPORT_0___.locals[\\"imported-alias\\"]} \${___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"imported-alias-2\\"]} \${___CSS_LOADER_ICSS_IMPORT_1___.locals[\\"imported-alias-3\\"]} global-class global-class-1 global-class-2\`,
21221+
\\"class-other\\": \`DemABT8Zz2xVnnu848uO RsClSIMkfTMmUvwYT4aD OdpZEdUc2oHF96Xqdoba\`
21222+
};
21223+
export default ___CSS_LOADER_EXPORT___;
21224+
"
21225+
`;
21226+
21227+
exports[`"modules" option should work with multiple compose: result 1`] = `
21228+
Array [
21229+
Array [
21230+
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/alias.css",
21231+
".dnhKs1AYKq4KodZdfzcx {
21232+
display: table;
21233+
}
21234+
",
21235+
"",
21236+
],
21237+
Array [
21238+
"../../src/index.js??ruleSet[1].rules[0].use[0]!./modules/composes/alias-1.css",
21239+
".Lg5UPByIZH1XWiASCk_q {
21240+
background: red;
21241+
}
21242+
21243+
.QllkotlwlKJ4pFhiIzqP {
21244+
background: red;
21245+
}
21246+
",
21247+
"",
21248+
],
21249+
Array [
21250+
"./modules/composes/multiple.css",
21251+
".RsClSIMkfTMmUvwYT4aD {
21252+
color: red;
21253+
}
21254+
21255+
.OdpZEdUc2oHF96Xqdoba {
21256+
color: blue;
21257+
}
21258+
21259+
.A3lCTIjOyIaMw91SUTt_ {
21260+
color: blue;
21261+
}
21262+
21263+
.global-class {
21264+
padding: 10px;
21265+
}
21266+
21267+
.global-class-1 {
21268+
padding: 10px;
21269+
}
21270+
21271+
.global-class-2 {
21272+
padding: 10px;
21273+
}
21274+
21275+
.BwiLdQraIwYyRAA53QEQ {
21276+
color: gainsboro;
21277+
}
21278+
21279+
.DemABT8Zz2xVnnu848uO {
21280+
}
21281+
",
21282+
"",
21283+
],
21284+
]
21285+
`;
21286+
21287+
exports[`"modules" option should work with multiple compose: warnings 1`] = `Array []`;
2117121288

2117221289
exports[`"modules" option should work with the "[local]" placeholder for the "localIdentName" option: errors 1`] = `Array []`;
2117321290

0 commit comments

Comments
 (0)