The Keycloak authentication pages for Singlestore Helios's Portal have undergone a significant overhaul, focusing on aligning with the rest of the application built with React and TypeScript. The development process involved analyzing and optimizing the bundle size, exploring various techniques such as internationalization stubbing, icon importing, lodash modernization, and alternative library exploration like Preact. A thorough analysis using vite-bundle-visualizer led to identifying unnecessary files, icons, and dependencies like lodash. By implementing lazy loading strategies and making adjustments in import paths, the team was able to reduce the bundle size from around 1.8MB to just over 400KB, with an additional improvement through the use of Preact, resulting in a total reduction of around 23% of the original size.