Skip to content

Commit b5beb44

Browse files
fix: remove react compiler again
1 parent 09027ae commit b5beb44

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vite.config.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as fs from "node:fs";
2-
import babel from "@rolldown/plugin-babel";
32
import { devtools } from "@tanstack/devtools-vite";
43
import { tanstackRouter } from "@tanstack/router-plugin/vite";
5-
import react, { reactCompilerPreset } from "@vitejs/plugin-react";
4+
import react from "@vitejs/plugin-react";
65
import { defineConfig } from "vite";
76
import svgr from "vite-plugin-svgr";
87
import tauriConf from "./src-tauri/tauri.conf.json" with { type: "json" };
@@ -49,7 +48,7 @@ export default defineConfig({
4948
autoCodeSplitting: !isDev,
5049
}),
5150
react(),
52-
babel({ presets: [reactCompilerPreset()] }),
51+
// babel({ presets: [reactCompilerPreset()] }),
5352
svgr(),
5453
],
5554
clearScreen: false,

0 commit comments

Comments
 (0)