Skip to content

Commit

Permalink
vpk - export kaioken's esbuild settings
Browse files Browse the repository at this point in the history
  • Loading branch information
LankyMoose committed Sep 28, 2024
1 parent 9a245e8 commit c146954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-plugin-kaioken/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c146954

Please sign in to comment.