phaserjs/template-webpack

Asset size limit warning on running build command

keshav-c opened this issue · 1 comments

Downloading the code and running npm run build gave me the following warnings:

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

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


WARNING in webpack performance recommendations: 
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

I did not make any changes to the code. I just want to bring this to your attention, to know if this can be ignored/improved.

This is fixed with v2.0.0 of this template.