webpack

Introducing Turbopack: A Rust-based successor to webpack

Learn about Turbopack, a new, Rust-based, Vercel-backed incremental bundler optimized for your JavaScript and TypeScript projects.
Emmanuel John
7 min read

How to detect dead code in a frontend project

Explore different approaches to detect dead code in your frontend project that can be used interchangeably and in combination.
Iva Kop
5 min read

Snowpack vs. webpack: A build tool comparison

Few tools have been as central and important to the JavaScript ecosystem as webpack. Learn how Snowpack and webpack stack up.
Drew Powers
12 min read

Tree shaking JSON files with webpack

Webpack performs out-of-the-box tree shaking when compiling multiple JSON files into a single one. Here's how and why you should use it.
Kumar Abhirup
4 min read

Migrating to SWC: A brief overview

SWC is faster than webpack and Babel. If you've already bootstrapped your project with those tools, here's how you can to SWC tooling.
Lorenz Weiß
3 min read

Tree shaking and code splitting in webpack

Here, we'll explain tree shaking and code splitting in webpack and discuss how to combine them for the most optimal bundle possible.
Simohamed Marhraoui
8 min read

How to configure CSS Modules for webpack

Increase the flexibility of your app's CSS components with CSS Modules and Webpack in this handy tutorial and demo app build.
Hulya Karakaya
3 min read

Building micro-frontends with webpack’s Module Federation

Learn how you can simplify app architecture by using webpack 5’s Module Federation to consume and share micro-frontend components with a Vue.js example.
Uma Victor
7 min read

vanilla-extract tutorial: Create zero-runtime style sheets in TypeScript

vanilla-extract helps you create zero-runtime style sheets in TypeScript. Learn how by building and theming a demo app with React and webpack.
Julio Sampaio
8 min read

The best webpack configurations for React applications

If you've struggled to configure webpack for your React app, look no further. We cover both generic and specific config needs.
Adewale Abati
12 min read

webpack or esbuild: Why not both?

If you want to have faster builds but don't have the time to go through a big migration, esbuild-loader enables you to use esbuild...
John Reilly
4 min read

Parsing raw text inputs in web applications using ANTLR

Create a parser to handle raw text inputs with the ANTLR toolkit and webpack in this step-by-step tutorial and example build.
Shalitha Suranga
6 min read