Unfortunately react-app-rewired is outdated and does not support CRA 2.0.
react-app-rewired shows some alternatives. One of those is craco. It is really easy to setup and offers recipes and plugins. With the use of craco and a plugin it is really easy to setup CRA with antd.
Unfortunately
react-app-rewired
is outdated and does not support CRA 2.0.react-app-rewired
shows some alternatives. One of those iscraco
. It is really easy to setup and offers recipes and plugins. With the use of craco and a plugin it is really easy to setup CRA with antd.Here my template with create-react-app, antd & craco: https://github.com/florianwiech/react-antd-setup
I think this is a cleaner solution. If you want, you can use it for this template. ✌️