CrocoDillon / universal-react-redux-boilerplate

Step by step creation of a Universal React + Redux Boilerplate
Other
176 stars 33 forks source link

WARNING in asset size limit #16

Closed developer239 closed 7 years ago

developer239 commented 7 years ago

I see an error after starting starting dev-server. Is it because I run webpack on windows?

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
This can impact web performance.
Assets:
  app.js (3.45 MB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (250 kB). This can impact web performance.
Entrypoints:
  app (3.45 MB)
      app.js
      0.030f1db52c62f8db0275.hot-update.js

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using System.import() or require.ensure to lazy load some parts of your application.
mohamedfasil commented 7 years ago

You can turn it off by adding this to your Webpack config

performance: { hints: false }

CrocoDillon commented 7 years ago

Should I add that to the boilerplate? I don't see it with a freshly cloned install (though I see in yellow the word [big]).

CrocoDillon commented 7 years ago

I'll just go ahead and close it since the solution is already given 😄