报错:

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  bundle.js (1.55 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (1.55 MiB)
      bundle.js

解决:
在webpack配置文件“webpack.config.js”中添加:

performance: { hints: false }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
  • 2021-07-24
  • 2021-07-16
  • 2022-12-23
  • 2021-11-20
  • 2022-12-23
猜你喜欢
  • 2021-05-29
  • 2022-12-23
  • 2021-04-11
  • 2021-03-31
  • 2022-12-23
  • 2022-03-06
相关资源
相似解决方案