From c146954a978b85e60bbbffb9d4a431802507cce4 Mon Sep 17 00:00:00 2001 From: Robby6Strings Date: Sun, 29 Sep 2024 05:22:14 +1300 Subject: [PATCH] vpk - export kaioken's esbuild settings --- packages/vite-plugin-kaioken/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite-plugin-kaioken/src/index.ts b/packages/vite-plugin-kaioken/src/index.ts index d12bdf8..31132ed 100644 --- a/packages/vite-plugin-kaioken/src/index.ts +++ b/packages/vite-plugin-kaioken/src/index.ts @@ -2,7 +2,7 @@ import type { ESBuildOptions, ModuleNode, Plugin, UserConfig } from "vite" import devtoolsLinkScript from "kaioken-devtools-host" import devtoolsUiScript from "kaioken-devtools-client" -const defaultEsBuildOptions: ESBuildOptions = { +export const defaultEsBuildOptions: ESBuildOptions = { jsxInject: `import * as kaioken from "kaioken"`, jsx: "transform", jsxFactory: "kaioken.createElement",