remove vite config no longer needed

This commit is contained in:
Triston Armstrong 2024-10-05 13:11:42 -04:00
parent 25b4190466
commit edd4719654

View File

@ -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/**"],
},
},
});
})