From dbd9d39da9ba4b0298e1e164ceb37c5b0c7b0b9b Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Thu, 30 May 2024 10:20:53 -0400 Subject: [PATCH] style: cleanup vite.config.ts --- vite.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index fc4fdc7..76fdf67 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,8 +6,6 @@ import tsconfigPaths from 'vite-tsconfig-paths' installGlobals() -const ReactCompilerConfig = {} - export default defineConfig({ base: '/admin/', plugins: [ @@ -18,9 +16,9 @@ export default defineConfig({ babel({ filter: /\.[jt]sx?$/, babelConfig: { - presets: ['@babel/preset-typescript'], // if you use TypeScript + presets: ['@babel/preset-typescript'], plugins: [ - ['babel-plugin-react-compiler', ReactCompilerConfig], + ['babel-plugin-react-compiler', {}], ], }, }),