ByteFE
Dec 6, 2021 · Frontend Development
Compressing i18n Keys to Reduce Bundle Size and Speed Up Frontend Builds
This article describes a method for shortening i18n keys in Feishu's frontend architecture by encoding them into compact strings, integrating the process into Babel and webpack pipelines, and demonstrates a 7.2 MB reduction in total page code size for over 11,000 keys.
Code CompressionFrontend Optimizationbabel
0 likes · 9 min read