[英]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.