diff --git a/packages/schema/src/config/webpack.ts b/packages/schema/src/config/webpack.ts index 5ee21abc14..ad9787aea5 100644 --- a/packages/schema/src/config/webpack.ts +++ b/packages/schema/src/config/webpack.ts @@ -157,7 +157,11 @@ export default defineUntypedSchema({ * See https://github.com/esbuild-kit/esbuild-loader * @type {Omit} */ - esbuild: {}, + esbuild: { + jsxFactory: 'h', + jsxFragment: 'Fragment', + tsconfigRaw: '{}', + }, /** * See: https://github.com/webpack-contrib/file-loader#options