@@ -14,7 +14,53 @@ document.body.append(btn);
1414"
1515` ;
1616
17- exports [` transform > tests/fixtures/basic.css 1` ] = `
17+ exports [` rolldown transform > tests/fixtures/as-string.css 1` ] = `
18+ "// as-string.js
19+ //#region tests/fixtures/as-string.css
20+ var as_string_default = ".red{ color :red } ";
21+
22+ //#endregion
23+ export { as_string_default as default } ;"
24+ ` ;
25+
26+ exports [` rolldown transform > tests/fixtures/basic.css 1` ] = `
27+ "// basic.css
28+ .red{ color :red }
29+
30+ // basic.js
31+ "
32+ ` ;
33+
34+ exports [` rolldown transform > tests/fixtures/import.css 1` ] = `
35+ "// import.css
36+ .red{ color :red }
37+
38+
39+ // import.js
40+ //#region tests/fixtures/basic.css
41+ var basic_default = { } ;
42+
43+ //#endregion"
44+ ` ;
45+
46+ exports [` rolldown transform > tests/fixtures/nesting.css 1` ] = `
47+ "// nesting.css
48+ .a .b{ color :red }
49+
50+ // nesting.js
51+ "
52+ ` ;
53+
54+ exports [` rollup transform > tests/fixtures/as-string.css 1` ] = `
55+ "// as-string.js
56+
57+
58+ // assets/asset-CRu7KFtz
59+ export default ".red{ color :red } "
60+ "
61+ ` ;
62+
63+ exports [` rollup transform > tests/fixtures/basic.css 1` ] = `
1864"// assets/asset-CuZ0KhGL
1965.red{ color :red }
2066
@@ -23,7 +69,7 @@ exports[`transform > tests/fixtures/basic.css 1`] = `
2369"
2470` ;
2571
26- exports [` transform > tests/fixtures/import.css 1` ] = `
72+ exports [` rollup transform > tests/fixtures/import.css 1` ] = `
2773"// assets/asset-C9cPOTFW
2874@import "./basic.css";
2975
@@ -32,7 +78,7 @@ exports[`transform > tests/fixtures/import.css 1`] = `
3278"
3379` ;
3480
35- exports [` transform > tests/fixtures/nesting.css 1` ] = `
81+ exports [` rollup transform > tests/fixtures/nesting.css 1` ] = `
3682"// assets/asset-B4RRm-s2
3783.a .b{ color :red }
3884
0 commit comments