当我试图在Chrome DevTools的Profile选项卡中分析我的应用程序的产品构建时,我会得到以下消息:
Profiling not supported.Profiling support requires either a development or production-profiling build of React v16.5+.(我的反应版本是16.8)我如何解决这个问题?我正在使用Webpack4,并且按照官方React的建议将它添加到我的
Chrome React Dev Tool的Profile选项卡告诉我"react Profiling not supported".\n,但是,我设置在我的webpack.config.prod.js上。$": "react-dom/profiling",
"scheduler/tracing": "scheduler/tracing-profiling"