From 05be2634df1402966abbb7141780ebb241bdf3eb Mon Sep 17 00:00:00 2001 From: aelassas Date: Sun, 22 Dec 2024 20:08:04 +0100 Subject: [PATCH] Update vite.config.ts --- backend/vite.config.ts | 2 +- frontend/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/vite.config.ts b/backend/vite.config.ts index 80161d45f..355069a74 100644 --- a/backend/vite.config.ts +++ b/backend/vite.config.ts @@ -13,7 +13,7 @@ export default ({ mode }: { mode: string }) => { babel: { plugins: [ ['@babel/plugin-transform-runtime'], - // ['babel-plugin-react-compiler', { optimize: true }], + // ['babel-plugin-react-compiler', { optimize: true, target: '19' }], ] } }) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 80161d45f..355069a74 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -13,7 +13,7 @@ export default ({ mode }: { mode: string }) => { babel: { plugins: [ ['@babel/plugin-transform-runtime'], - // ['babel-plugin-react-compiler', { optimize: true }], + // ['babel-plugin-react-compiler', { optimize: true, target: '19' }], ] } })