使用create-react-app按照antd官网配置按需加载出错。
问题出现的环境背景及自己尝试过哪些方法
换回版本create-react-app和react-app-rewired可以使用
相关代码
// 请把代码文本粘贴到下方(请勿用图片代替代码)
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.