diff --git a/vite.config.ts b/vite.config.ts index 455ed70..de04713 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,17 +1,9 @@ -import { defineConfig } from "vite"; -import kaioken from "vite-plugin-kaioken"; +import { defineConfig } from "vite" +import kaioken from "vite-plugin-kaioken" // https://vitejs.dev/config/ export default defineConfig({ plugins: [kaioken()], - esbuild: { - jsxInject: `import * as kaioken from "kaioken"`, - jsx: "transform", - jsxFactory: "kaioken.createElement", - jsxFragment: "kaioken.fragment", - loader: "tsx", - include: ["**/*.tsx", "**/*.ts", "**/*.jsx", "**/*.js"], - }, // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` // // 1. prevent vite from obscuring rust errors @@ -25,4 +17,4 @@ export default defineConfig({ ignored: ["**/src-tauri/**"], }, }, -}); +})