

Lastor
coding 舒服,把 main.js 的 bundle size 降低了 75%。原本約 2MB,現在約 500KB


Lastor
原本 jotai-devtools 錯誤的生產環境中被打包,就吃掉了 1MB 多

Lastor
處理好這塊之後,再把一些網站首頁不需要先載入的東西改成 lazy load 拆模塊

Lastor
主要的 js 檔 size 降下來之後,首頁的初次渲染速度就快了好多


Lastor
話說把這數字量化之後,「我優化了 75% 的 bundle size」

Lastor
這去面試說出來,聽字面就很屌


Lastor
其實只是人家 lib 寫錯,改正了而已,我只是更新上去
