Home

Issue: 823

About assets size limit

[issue link]

I try to npm run build on my production server, but I got the warning:

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (300 kB).
This can impact web performance.
Assets:
  nuxt.bundle.fd4ef5d105dfb612b8bb.js (634 kB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recomm                             ended limit (300 kB). This can impact web performance.
Entrypoints:
  app (742 kB)
      manifest.a9503655cbefafecdb90.js
      vendor.bundle.a9503655cbefafecdb90.js
      nuxt.bundle.fd4ef5d105dfb612b8bb.js

and when I visit the site,I found that some js files is too big to impact the performance.

what should I do to make the files smaller, or can I push this files to cdn, this will be faster than my server

This question is available on Nuxt.js community (#c706)