[英]Reducing size of bundle.js
我有一個React應用程序,它的大小是8mb左右,我想減小它的大小。 當我使用weback-p即生產版本時,它減小到4mb,但是我無法調試它。
有沒有更好的方法可以做到這一點。
您應該具有不同的開發和生產版本。 生產版本將被最小化,因此將很難調試。 為了進一步減小bundle.js的大小,您可以嘗試gzip解壓縮文件。
我已經在Webpack上寫過一篇文章:一起整理!
希望它會有所幫助。 干杯。
[英]Optimize bundle.js file size
[英]How to reduce bundle.js file size of react using webpack
[英]ReactJS - What makes bundle.js size big
[英]bundle.js slow loading
[英]bundle.js cannot be found
[英]bundle.js not found with webpack
[英]webpack not generating bundle.js
[英]magento bundle.js error
[英]jQuery is not defined in bundle.js
[英]Vendor Bundle Size Not Reducing
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.