From d2d202d5c22bc4cd39d573548749173e3bdb3de6 Mon Sep 17 00:00:00 2001 From: natew Date: Mon, 13 Jan 2025 12:33:36 -1000 Subject: [PATCH] fix(compiler): fix mode not passing to swc --- packages/compiler/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler/src/index.ts b/packages/compiler/src/index.ts index 142ed8e69..95defa4a6 100644 --- a/packages/compiler/src/index.ts +++ b/packages/compiler/src/index.ts @@ -142,7 +142,7 @@ export async function createVXRNCompilerPlugin( const swcOptions = { environment: environment, - mode: 'serve', + mode: optionsIn?.mode || 'serve', production, ...optionsIn, } satisfies Options