From 074a1b0e8fd50fc3650d4c87b12c8c4da96c40f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Tue, 7 Jan 2025 11:43:16 +0100 Subject: [PATCH] Remove react-compiler-runtime --- client/package.json | 1 - client/vite.config.mts | 4 +--- package-lock.json | 10 ---------- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/client/package.json b/client/package.json index 711883ab..79a7f2cd 100644 --- a/client/package.json +++ b/client/package.json @@ -14,7 +14,6 @@ "node-fetch": "^3.3.1", "prop-types": "^15.7.2", "react": "^19.0.0", - "react-compiler-runtime": "19.0.0-beta-df7b47d-20241124", "react-dom": "^19.0.0", "react-markdown": "^9.0.0", "spinners-react": "^1.0.10", diff --git a/client/vite.config.mts b/client/vite.config.mts index f2757567..877d7cd4 100644 --- a/client/vite.config.mts +++ b/client/vite.config.mts @@ -7,9 +7,7 @@ export default defineConfig({ patchCssModules(), react({ babel: { - plugins: [ - ['react-compiler', { target: '18' }], - ], + plugins: ['react-compiler'], }, }), ], diff --git a/package-lock.json b/package-lock.json index 16d23963..8c9e74e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,7 +45,6 @@ "node-fetch": "^3.3.1", "prop-types": "^15.7.2", "react": "^19.0.0", - "react-compiler-runtime": "19.0.0-beta-df7b47d-20241124", "react-dom": "^19.0.0", "react-markdown": "^9.0.0", "spinners-react": "^1.0.10", @@ -81,15 +80,6 @@ "url": "https://opencollective.com/node-fetch" } }, - "client/node_modules/react-compiler-runtime": { - "version": "19.0.0-beta-df7b47d-20241124", - "resolved": "https://registry.npmjs.org/react-compiler-runtime/-/react-compiler-runtime-19.0.0-beta-df7b47d-20241124.tgz", - "integrity": "sha512-HLFbEf5rEhynZNxI/f1y26Hw0SCvFWh9aS0gCaDndak202oOAvRhy0qsUhmVyaeuRYqIxvPeltMvqDfvO+9/Fw==", - "license": "MIT", - "peerDependencies": { - "react": "^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, "node_modules/@adobe/css-tools": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.3.3.tgz",