diff --git a/packages/next-swc/crates/core/tests/fixture/server-actions/2/output.js b/packages/next-swc/crates/core/tests/fixture/server-actions/2/output.js new file mode 100644 index 00000000000000..3fd96be917a713 --- /dev/null +++ b/packages/next-swc/crates/core/tests/fixture/server-actions/2/output.js @@ -0,0 +1,11 @@ +// /app/page.tsx (Server Component) +async function myAction(a, b, c) { + console.log('a'); +} +myAction.$$typeof = Symbol.for("react.action.reference"); +myAction.$$filepath = "/app/item.js"; +myAction.$$name = "$ACTION_myAction"; +export const $ACTION_myAction = myAction; +export default function Page() { + return ; +}