ファイルサイズ大きい問題
Opened this issue · 2 comments
t-morisawa commented
目的
- Netlifyで運用するには重すぎ
- バンドルされたjsのサイズが大きいと怒られているのでなんとかしたい
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
912ec66d7572ff821749319396470bde.svg (434 KiB)
undefined.js (1.35 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.35 MiB)
undefined.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/
t-morisawa commented
ブラウザに以下のような警告が出ているので参考にしてみるといいかもしれない
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/
t-morisawa commented
こういうパッケージで解析もできるが、まずsoucemapを生成しないとダメそう。
https://www.npmjs.com/package/source-map-explorer