{ "presets": [ "@babel/preset-env", "@babel/preset-react", "@babel/preset-typescript" ], "plugins": [ [ "import", { "libraryName": "antd", "style": true, // or 'css' "libraryDirectory": "es" } ], "@babel/plugin-proposal-class-properties" // "@babel/plugin-proposal-export-default-from" ] }