esbuild Windows 32-bit Binary

0.15.18 · active · verified Tue Apr 21

esbuild-windows-32 is a platform-specific package containing the Windows 32-bit executable for esbuild. Esbuild is an extremely fast, modern JavaScript and CSS bundler and minifier written in Go. Its primary differentiator is its exceptional speed, often performing 10-100 times faster than traditional bundlers like Webpack or Rollup, attributed to its native Go implementation, heavy use of parallelism, and optimized memory access patterns. The current stable version of the core `esbuild` package is `0.28.0`, released in early April 2026. The project maintains a sustainable and active release cadence, with new versions typically published at least once every three months, reflecting ongoing development and improvements. Key features include built-in support for JavaScript, TypeScript, JSX, and CSS, comprehensive bundling of ESM and CommonJS modules, aggressive tree-shaking and minification, source map generation, a straightforward API for CLI, JavaScript, and Go, and a flexible plugin system. It's widely adopted and integrated into tools like Vite, Angular (v17+), and Ruby on Rails (v7+). This `esbuild-windows-32` package is an optional dependency for the main `esbuild` package, automatically installed by npm based on the detected operating system and architecture.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates a basic esbuild setup to bundle a TypeScript application for Node.js, including minification, sourcemaps, and target environment configuration. The `esbuild-windows-32` binary is used automatically by the `esbuild` package on compatible Windows 32-bit systems.

import { build } from 'esbuild';
import path from 'path';

const projectRoot = process.cwd();
const entryPoint = path.join(projectRoot, 'src', 'index.ts');
const outputDir = path.join(projectRoot, 'dist');

async function bundleApp() {
  try {
    await build({
      entryPoints: [entryPoint],
      bundle: true,
      minify: true,
      sourcemap: true,
      platform: 'node',
      format: 'esm',
      outdir: outputDir,
      target: ['node18', 'es2022'],
      define: { 'process.env.NODE_ENV': '"production"' },
      logLevel: 'info',
    });
    console.log('Build successful!');
  } catch (error) {
    console.error('Build failed:', error);
    process.exit(1);
  }
}

bundleApp();

view raw JSON →