{"id":25464,"library":"esbuild-windows-32-for-imba","title":"esbuild Windows 32-bit binary","description":"This package provides the Windows 32-bit native binary for esbuild, a fast JavaScript bundler and minifier written in Go. The current stable version is v0.28.0 (released regularly), with active development and breaking changes in major versions. It uses optional dependencies per platform to avoid downloading unnecessary binaries, and is the platform-specific package for esbuild on Windows 32-bit. Unlike webpack or Rollup, esbuild focuses on speed and minimal configuration, supporting ESM, CJS, TypeScript, JSX, and CSS.","status":"active","version":"0.0.2035","language":"javascript","source_language":"en","source_url":"https://github.com/evanw/esbuild","tags":["javascript"],"install":[{"cmd":"npm install esbuild-windows-32-for-imba","lang":"bash","label":"npm"},{"cmd":"yarn add esbuild-windows-32-for-imba","lang":"bash","label":"yarn"},{"cmd":"pnpm add esbuild-windows-32-for-imba","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"esbuild provides ESM and CJS exports. The default import is recommended for ESM projects. For CommonJS, use `const esbuild = require('esbuild')`.","wrong":"const esbuild = require('esbuild')","symbol":"esbuild","correct":"import esbuild from 'esbuild'"},{"note":"The `build` function is a named export. Use it directly for programmatic builds.","wrong":"","symbol":"build","correct":"import { build } from 'esbuild'"},{"note":"`transform` is a named export used to transform a single string of code.","wrong":"","symbol":"transform","correct":"import { transform } from 'esbuild'"}],"quickstart":{"code":"import esbuild from 'esbuild';\n\nawait esbuild.build({\n  entryPoints: ['app.ts'],\n  bundle: true,\n  outfile: 'out.js',\n  platform: 'node',\n  format: 'esm',\n  target: 'es2022',\n  loader: { '.ts': 'ts' },\n  define: { 'process.env.NODE_ENV': '\"production\"' },\n  minify: true,\n  sourcemap: true,\n});\n\nconsole.log('Build complete.');","lang":"typescript","description":"Shows a minimal build configuration: entry point, bundling, output, platform, format, target, loader, define, minification, and sourcemaps."},"warnings":[{"fix":"Use exact version in package.json (e.g., \"esbuild\": \"0.27.0\") or caret range with major locked (^0.26.0).","message":"Major version bumps (e.g., 0.27.0) contain breaking changes. Pin exact version or use ^0.x.0 range to avoid.","severity":"breaking","affected_versions":">=0.27.0"},{"fix":"Update CI to use trusted publishing or adjust if needed.","message":"In esbuild 0.26.0, trusted publishing was enabled. No functional changes, but older CI workflows may fail if they rely on publishing behavior.","severity":"deprecated","affected_versions":">=0.26.0"},{"fix":"Install the main 'esbuild' package, which automatically selects the correct binary for your platform.","message":"The esbuild-windows-32-for-imba package is a platform-specific binary. It will fail if installed on non-Windows 32-bit systems.","severity":"gotcha","affected_versions":"all"},{"fix":"Switch to ESM imports or use `const esbuild = require('esbuild')` in CommonJS files.","message":"From version 0.27.0 onwards, use `import esbuild from 'esbuild'` instead of `const esbuild = require('esbuild')` for ESM projects.","severity":"breaking","affected_versions":">=0.27.0"},{"fix":"Set target to a concrete version like 'es2022'.","message":"The `target` option previously accepted 'esnext'; now it's recommended to use a specific ES version (e.g., 'es2022').","severity":"deprecated","affected_versions":">=0.25.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Remove esbuild-windows-32-for-imba from dependencies and add 'esbuild' as a dependency.","cause":"Directly depending on the platform-specific binary instead of the main esbuild package.","error":"Error: The package esbuild-windows-32-for-imba must be installed with the optional flag, or you need to install the esbuild package instead."},{"fix":"Run 'npm install' and ensure you are on Windows 32-bit.","cause":"npm resolver picking wrong platform package due to missing optional dependencies.","error":"error: No matching middleware found: esbuild-windows-32-for-imba"},{"fix":"Install esbuild via 'npm install esbuild' and import from 'esbuild'.","cause":"Missing the main esbuild package or incorrect import path.","error":"Module not found: Can't resolve 'esbuild'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}