diff --git a/babel.config.js b/babel.config.js index 369863e227e..6b9f3fd4c53 100644 --- a/babel.config.js +++ b/babel.config.js @@ -15,13 +15,23 @@ module.exports = { ], "@babel/preset-react", ], + "plugins": [ + [ + "transform-react-remove-prop-types", + { + "additionalLibraries": [ + "react-immutable-proptypes" + ] + } + ], + ], }, "esm": { "presets": [ [ "@babel/env", { - "debug": true, + "debug": false, "modules": false, "ignoreBrowserslistConfig": false, "useBuiltIns": false,