Create-react-app introduces ANTD to report errors on demand.

an error occurred when using create-react-app to configure demand loading according to the antd official website.

the environmental background of the problems and what methods you have tried

you can use

to switch back versions of create-react-app and react-app-rewired.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
yarn run v1.9.4
$react-app-rewired start
injectBabelPlugin is not a function
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/c... for documentation about this command.

what result do you expect? What is the error message actually seen?

Apr.10,2022
Menu