[x] analysis bundle size using webpack-bundle-analysis
[x] optimization about vendor using webpack config
Analysis
Before Optimization
After Optimization
electron JS bundle
2.29MB
2.29MB
page JS bundle
2.25MB
1.01MB
Oh-my-desk install file(.dmg)
72.8MB
71.8MB
Oh-my-desk execute file(.dmg)
262.3MB
259.3MB
Description
page JS bundle has big decrease 55% of before. It is greatly decrease on web-page.
But I think that it is not grate decrease on desktop app like electron. Because all file is downloaded user. So, 2MB decrease is not big optimization.
Purpose
Analysis
Description
page JS bundle has big decrease 55% of before. It is greatly decrease on web-page. But I think that it is not grate decrease on desktop app like electron. Because all file is downloaded user. So, 2MB decrease is not big optimization.
Need to another improved package method.