打完后的生产包使用时控制台有Warning警告提示 react

按照下方的报错提示去安装loose-envify,也百度找了其它一些解决办法,貌似都不行,警告依旧还在

You are currently using minified code outside of NODE_ENV === 'production'. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) toensure you have the correct code for your production build.

erro.png

下图是package.json配置
package.png

阅读 1.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题