A plugin that enables using webpack loaders within esbuild builds. Current stable version is 0.4.0. Release cadence is irregular; the project is still under development with API subject to change. Key differentiator: bridges the gap between esbuild's speed and webpack's extensive loader ecosystem, allowing reuse of loaders like babel-loader, sass-loader, and postcss-loader without a full webpack setup. Works with ESM and CommonJS esbuild configurations.
npm install esbuild-plugin-webpack-bridgeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use esbuild-plugin-webpack-bridge with a Babel loader for JSX/JS files.
Pin exact version in package.json and monitor releases for breaking changes.
Check test/ folder for supported features. Loaders expecting full webpack context may behave unexpectedly.
Ensure Node version and esbuild peer dependency are satisfied.
Check if the loader relies on webpack internals; consider using a different loader or a workaround.
Install webpack as a dev dependency: npm install --save-dev webpack
Verify that the esbuildLoader property matches the expected content type (e.g., 'js' for JavaScript, 'css' for stylesheets).