Skip to content

Commit

Permalink
fix(compiler): fix mode not passing to swc
Browse files Browse the repository at this point in the history
  • Loading branch information
natew committed Jan 13, 2025
1 parent b4c3662 commit d2d202d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export async function createVXRNCompilerPlugin(

const swcOptions = {
environment: environment,
mode: 'serve',
mode: optionsIn?.mode || 'serve',
production,
...optionsIn,
} satisfies Options
Expand Down

0 comments on commit d2d202d

Please sign in to comment.