Skip to content

Commit f7c65c3

Browse files
committed
update new test
1 parent 11413f0 commit f7c65c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/yak-swc/yak_swc/tests/fixture/css-prop/output.dev.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { css, styled, __yak_mergeCssProp } from "next-yak/internal";
2+
import * as __yak from "next-yak/internal";
23
import __styleYak from "./input.yak.module.css!=!./input?./input.yak.module.css";
34
const Elem = ()=><div {.../*YAK Extracted CSS:
45
.Elem {
@@ -54,7 +55,7 @@ const Text = /*YAK Extracted CSS:
5455
.Text {
5556
font-size: 20px;
5657
}
57-
*/ /*#__PURE__*/ styled.p(__styleYak.Text);
58+
*/ /*#__PURE__*/ __yak.__yak_p(__styleYak.Text);
5859
const StyledComponentWithCSSProp = ()=><Text {.../*YAK Extracted CSS:
5960
.StyledComponentWithCSSProp {
6061
color: red;

packages/yak-swc/yak_swc/tests/fixture/css-prop/output.prod.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { css, styled, __yak_mergeCssProp } from "next-yak/internal";
2+
import * as __yak from "next-yak/internal";
23
import __styleYak from "./input.yak.module.css!=!./input?./input.yak.module.css";
34
const Elem = ()=><div {.../*YAK Extracted CSS:
45
.Elem {
@@ -54,7 +55,7 @@ const Text = /*YAK Extracted CSS:
5455
.Text {
5556
font-size: 20px;
5657
}
57-
*/ /*#__PURE__*/ styled.p(__styleYak.Text);
58+
*/ /*#__PURE__*/ __yak.__yak_p(__styleYak.Text);
5859
const StyledComponentWithCSSProp = ()=><Text {.../*YAK Extracted CSS:
5960
.StyledComponentWithCSSProp {
6061
color: red;

0 commit comments

Comments
 (0)