From 96ec3fc4ccd2e90e1f74b5b84bb00627046e2008 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 23 Dec 2024 17:28:25 +0000 Subject: [PATCH] remove most babel deps --- babel.config.json | 17 +---------------- package.json | 6 ------ 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/babel.config.json b/babel.config.json index 249dc5cef4..f878e8f9f9 100644 --- a/babel.config.json +++ b/babel.config.json @@ -1,18 +1,3 @@ { - "presets": [ - [ - "@babel/env", - { - "loose": true, - "bugfixes": true, - "shippedProposals": true - } - ], - ["@babel/react", { "runtime": "automatic" }], - "@babel/typescript" - ], - "plugins": [ - "@babel/transform-runtime", - ["optimize-clsx", { "functionNames": ["getCellClassname"] }] - ] + "presets": ["@babel/typescript"] } diff --git a/package.json b/package.json index 0163a1b716..b6f7b5a81e 100644 --- a/package.json +++ b/package.json @@ -55,12 +55,7 @@ "clsx": "^2.0.0" }, "devDependencies": { - "@babel/core": "^7.26.0", - "@babel/plugin-transform-runtime": "^7.25.9", - "@babel/preset-env": "^7.26.0", - "@babel/preset-react": "^7.26.3", "@babel/preset-typescript": "^7.26.0", - "@babel/runtime": "^7.26.0", "@biomejs/biome": "1.9.4", "@eslint/compat": "^1.2.4", "@eslint/markdown": "^6.2.1", @@ -84,7 +79,6 @@ "@vitest/eslint-plugin": "^1.1.17", "@wyw-in-js/rollup": "^0.5.0", "@wyw-in-js/vite": "^0.5.0", - "babel-plugin-optimize-clsx": "^2.6.2", "browserslist": "^4.24.3", "eslint": "^9.17.0", "eslint-plugin-jest-dom": "^5.5.0",