Skip to main content

One post tagged with "esbuild"

View All Tags

Thank you esbuild

· 4 min read
Siva Dirisala
Creator of SQL Frames

SQL Frames has several goals in terms of how it is distributed. As a library that can run within the browser or in the backend using Node or within an electronjs app. In addition, it should also be delivered as esm module or umd and cjs modules. Initially much of this bundling was managed with Rollup. In the initial stages when the entire codebase was in pure JavaScript the build time was around 2 seconds. Moving to TypeScript increased it to around 9 to 10 seconds when targeted to ESNext and almost double when targeted to older ES standards. This was simply killing productivity which was unacceptable. Yarn workspaces and esbuild is how this has been solved.