diff --git a/babel.config.js b/babel.config.js index d53899b1..69388554 100644 --- a/babel.config.js +++ b/babel.config.js @@ -5,8 +5,6 @@ module.exports = function (api) { // react-optimize '@babel/transform-react-constant-elements', '@babel/transform-react-inline-elements', - 'transform-react-remove-prop-types', - 'transform-react-pure-class-to-function', ]; const presets = [ diff --git a/package.json b/package.json index c8068f06..8ddc6ee5 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,6 @@ "@babel/preset-react": "^7.23.3", "babel-loader": "^9.1.3", "babel-plugin-transform-react-pure-class-to-function": "^1.0.1", - "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "babel-plugin-ttag": "^1.8.5", "clean-css": "^5.2.2", "clean-css-loader": "^4.2.1",