我是一个尝试学习React的新开发人员,所以在这个过程中我创建了多个React项目,所以我使用npx create-react-app创建了React项目,所以每次我创建React应用程序,它需要很长的时间创建它,有没有任何方法,以加快创建React应用程序使用npx create-react-app,因为我正在创建很多不同的应用程序用于学习目的
问题将在此处报告并添加到下一个里程碑。https://github.com/facebook/create-react-app/issues/9886 https://github.com/facebook/create-react-app/milestone/78
如果您想要临时修补程序,可以遵循以下注释https://github.com/facebook/create-react-app/issues/9886#issuecomment-718254173
node_modules/react-scripts/config/webpack.config.js
new ESLintPlugin({
cache: true,
...
})
修复后请稍后删除修补程序。