From 5efd4dcf359c44f3749c8b39db9fc5ff15ac57a4 Mon Sep 17 00:00:00 2001 From: anthonycoyaud-prog Date: Wed, 20 May 2026 11:28:20 +0200 Subject: [PATCH] modification version js --- DataSentinel/package.json | 3 --- DataSentinel/pnpm-lock.yaml | 11 ++--------- DataSentinel/vite.config.js | 4 +--- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/DataSentinel/package.json b/DataSentinel/package.json index 9cc9b6a..dfc8c7b 100644 --- a/DataSentinel/package.json +++ b/DataSentinel/package.json @@ -17,13 +17,10 @@ "recharts": "^3.8.1" }, "devDependencies": { - "@babel/core": "^7.29.0", "@eslint/js": "^10.0.1", - "@rolldown/plugin-babel": "^0.2.3", "@types/react": "^19.2.14", "@types/react-dom": "^19.2.3", "@vitejs/plugin-react": "^6.0.1", - "babel-plugin-react-compiler": "^1.0.0", "eslint": "^10.2.1", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-react-refresh": "^0.5.2", diff --git a/DataSentinel/pnpm-lock.yaml b/DataSentinel/pnpm-lock.yaml index 77e0bec..4d37a2c 100644 --- a/DataSentinel/pnpm-lock.yaml +++ b/DataSentinel/pnpm-lock.yaml @@ -24,15 +24,9 @@ importers: specifier: ^3.8.1 version: 3.8.1(@types/react@19.2.14)(react-dom@19.2.5(react@19.2.5))(react-is@19.2.5)(react@19.2.5)(redux@5.0.1) devDependencies: - '@babel/core': - specifier: ^7.29.0 - version: 7.29.0 '@eslint/js': specifier: ^10.0.1 version: 10.0.1(eslint@10.2.1) - '@rolldown/plugin-babel': - specifier: ^0.2.3 - version: 0.2.3(@babel/core@7.29.0)(rolldown@1.0.0-rc.17)(vite@8.0.10) '@types/react': specifier: ^19.2.14 version: 19.2.14 @@ -42,9 +36,6 @@ importers: '@vitejs/plugin-react': specifier: ^6.0.1 version: 6.0.1(@rolldown/plugin-babel@0.2.3(@babel/core@7.29.0)(rolldown@1.0.0-rc.17)(vite@8.0.10))(babel-plugin-react-compiler@1.0.0)(vite@8.0.10) - babel-plugin-react-compiler: - specifier: ^1.0.0 - version: 1.0.0 eslint: specifier: ^10.2.1 version: 10.2.1 @@ -1316,6 +1307,7 @@ snapshots: rolldown: 1.0.0-rc.17 optionalDependencies: vite: 8.0.10 + optional: true '@rolldown/pluginutils@1.0.0-rc.17': {} @@ -1394,6 +1386,7 @@ snapshots: babel-plugin-react-compiler@1.0.0: dependencies: '@babel/types': 7.29.0 + optional: true balanced-match@4.0.4: {} diff --git a/DataSentinel/vite.config.js b/DataSentinel/vite.config.js index d1203cd..d45cae6 100644 --- a/DataSentinel/vite.config.js +++ b/DataSentinel/vite.config.js @@ -1,11 +1,9 @@ import { defineConfig } from 'vite' -import react, { reactCompilerPreset } from '@vitejs/plugin-react' -import babel from '@rolldown/plugin-babel' +import react from '@vitejs/plugin-react' // https://vite.dev/config/ export default defineConfig({ plugins: [ react(), - babel({ presets: [reactCompilerPreset()] }) ], })