PageSignal

WEBPACK 5 · OPEN-SOURCE CLI

BuildTrial

Compare Webpack strategies and build the smallest passing JavaScript and CSS output into dist/. Verify each candidate with your own tests.

React example cold compilation medians: baseline 729 milliseconds, loader 373, minifier 570, both 182.

What each trial measures

Compilation time

Compare a fresh compiler with a second build using the same in-memory cache.

Entry size

Measure initial JavaScript and CSS after gzip compression. Shared assets count once.

Compatibility

Check declared package outputs and run your verification script against each candidate.

Install BuildTrial

In your Webpack 5 project, install the CLI with npm install -D buildtrial@0.2.0 esbuild-loader@4. Then run npx buildtrial build --target es2020 with your project’s target.