From 8fbe22bc73c29d5c2ea9353517d46ecee430bac8 Mon Sep 17 00:00:00 2001 From: XLor Date: Wed, 1 Mar 2023 13:58:49 +0800 Subject: [PATCH] fix: miss passing esbuild JSX factory option --- src/builder/plugins/esbuild.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/builder/plugins/esbuild.ts b/src/builder/plugins/esbuild.ts index d2f36eba..8b0f2abd 100644 --- a/src/builder/plugins/esbuild.ts +++ b/src/builder/plugins/esbuild.ts @@ -84,6 +84,8 @@ export function esbuild(options: Options): Plugin { define: options.define, sourcemap: options.sourceMap, sourcefile: id, + jsxFactory: options.jsxFactory, + jsxFragment: options.jsxFragment, }); printWarnings(id, result, this);