diff --git a/packages/cli/src/commands/compile.ts b/packages/cli/src/commands/compile.ts index 49d4caca5a..2c41d9d79a 100644 --- a/packages/cli/src/commands/compile.ts +++ b/packages/cli/src/commands/compile.ts @@ -118,7 +118,7 @@ const command: GluegunCommand = { switch (from_) { case 'mitosis': - json = parseJsx(data); + json = parseJsx(data, { typescript: generatorOpts.typescript }); break; case 'builder':