You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__tests__/baselines/minification-only/minify-css-in-helpers.ts.baseline
+17-4
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,21 @@ TypeScript before transform:
38
38
declare const css: any;
39
39
declare const createGlobalStyle: any;
40
40
declare const theColor: any;
41
-
const key = keyframes \`\\n to {\\n transform: rotate(360deg);\\n }\\n\`;
42
-
const color = css \`\\n color: \${theColor};\\n\`;
43
-
const MyRedBody = createGlobalStyle \`\\n body {\\n background-color: red; // comments\\n \${color} // comments\\n // it will be ignored, but still emitted \${color}\\n }\\n\`;
41
+
const key = keyframes \`
42
+
to {
43
+
transform: rotate(360deg);
44
+
}
45
+
\`;
46
+
const color = css \`
47
+
color: \${theColor};
48
+
\`;
49
+
const MyRedBody = createGlobalStyle \`
50
+
body {
51
+
background-color: red; // comments
52
+
\${color} // comments
53
+
// it will be ignored, but still emitted \${color}
0 commit comments