Home / Companies / Retool / Blog / Post Details
Content Deep Dive

How we migrated to ViteJS

Blog post from Retool

Post Details
Company
Date Published
Author
Juan Lasheras
Word Count
1,923
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Retool recently undertook a significant migration from Webpack to ViteJS as its core frontend development tool, driven by the need for improved production bundling times, enhanced local development productivity, and alignment with modern web development paradigms like ECMAScript modules (ESM). The transition involved overcoming challenges such as migrating from CommonJS to ESM, dealing with Jest's limited ESM support, and addressing bundle bloat caused by Rollup's simpler chunking algorithm compared to Webpack's. Despite these hurdles, the migration led to faster hot reloading and improved developer productivity, although it did not reduce production bundling times as initially hoped. The deployment of the new setup was carefully managed using feature flags and phased rollouts, ensuring minimal disruption. The migration has positioned Retool to better navigate future frontend development trends, with a more productive engineering team and a cleaner codebase, despite the initial challenges and some limitations in ViteJS's approach to initial app loading.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Developer Experience 2 521 216 95 +51%
Observability 2 2,122 444 131 +14%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.