jonwalch / whiplash

Betting fake money on top of live Twitch streams
3 stars 1 forks source link

Reduce webpack artifact size #102

Open jonwalch opened 4 years ago

jonwalch commented 4 years ago
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets: 
  bundle.js (246 KiB)

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 (246 KiB)
      bundle.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/
paulshryock commented 4 years ago

Front end library bloat.

jonwalch commented 4 years ago

https://reactjs.org/docs/code-splitting.html?fbclid=IwAR2PhrKR90OITRf4o9IN8K85D9p4c2ayvqMw2Bwux2AzMAiVBkHLKhcNBoc#reactlazy

Took Julian ~2 minutes

jonwalch commented 4 years ago

Admin panel should 100% be code split, only admins need that code