Over the years, many web improvements were driven by the desire to improve the performance of web applications. One of the way it’s being done these days is by reducing the size of JavaScript that’s being injected into the browser, using special tools called build tools.
Here are 5 Javascript build tools you should check out:
Rollup is a module bundler for JavaScript that compiles small pieces of code into something larger and more complex, such as a library or an application. Rollup is perfect for bundling Javascript libraries.
Learn More: https://rollupjs.org/guide
Pronounced as Veet, it is a build tool that provides a fast and lean development experience for modern web projects. It has 2 major parts: a dev server and a build command that bundles your code.
Learn more: https://vitejs.dev/guide/
esbuild is an extremely fast JavaScript bundler. It has features like extreme speed without needing a cache, ES6 and CommonJS modules, tree shaking of ES6 modules, and an API for JavaScript and Go.
Read more: https://esbuild.github.io
Parcel is a lightning-fast, zero-configuration build tool that provides a great out-of-the-box development experience with a scalable architecture that can take your project from planning to a massive production application.
Read more: https://parceljs.org/docs/
SWC stands for Speedy Web Compiler. It is an extensible, Rust-based platform for the next generation of fast developer tools. It can be used for both compilation and bundling.
Read more: https://swc.rs/docs/getting-started