{"id":25435,"library":"esbuild-progress","title":"esbuild-progress","description":"A simple esbuild plugin that displays a progress bar during builds. Current stable version is 1.0.1, released as a minor update. It integrates easily into any esbuild setup, providing visual feedback for long builds. Key differentiators: zero dependencies, lightweight, and minimal configuration.","status":"active","version":"1.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/nguyenngoclongdev/esbuild-progress","tags":["javascript","esbuild","plugin","build","progress","typescript"],"install":[{"cmd":"npm install esbuild-progress","lang":"bash","label":"npm"},{"cmd":"yarn add esbuild-progress","lang":"bash","label":"yarn"},{"cmd":"pnpm add esbuild-progress","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM default export; CJS also works via require().default.","wrong":"const ProgressPlugin = require('esbuild-progress')","symbol":"ProgressPlugin","correct":"import ProgressPlugin from 'esbuild-progress'"},{"note":"The package exports a single default function, not a named export.","wrong":"import { ProgressPlugin } from 'esbuild-progress'","symbol":"ESM","correct":"import ProgressPlugin from 'esbuild-progress'"},{"note":"Package ships with TypeScript types, so no extra types package needed.","wrong":"","symbol":"TypeScript","correct":"import ProgressPlugin from 'esbuild-progress'"}],"quickstart":{"code":"const esbuild = require('esbuild');\nconst ProgressPlugin = require('esbuild-progress').default;\n\nawait esbuild.build({\n  entryPoints: ['src/index.js'],\n  outfile: 'dist/bundle.js',\n  plugins: [ProgressPlugin()],\n});","lang":"javascript","description":"Shows basic usage of esbuild-progress plugin with esbuild, using CJS require."},"warnings":[{"fix":"const ProgressPlugin = require('esbuild-progress').default;","message":"Using require('esbuild-progress') returns an object with a default property. Must call .default or use ESM import.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Use ProgressPlugin() with parentheses.","message":"The plugin is a factory function, not a class. Calling ProgressPlugin() returns a valid plugin object.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Only use in Node.js builds.","message":"The plugin does not work in browser environments; it uses Node.js stream/stderr.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Remove 'new'. Call ProgressPlugin() directly.","cause":"Using new ProgressPlugin() instead of ProgressPlugin().","error":"TypeError: ProgressPlugin is not a constructor"},{"fix":"Use default import: import ProgressPlugin from 'esbuild-progress'","cause":"ESM import of named export which doesn't exist.","error":"TypeError: (0 , _esbuildProgress.default) is not a function"},{"fix":"Run 'npm install esbuild-progress --save-dev' and verify import statement.","cause":"Missing npm install or incorrect import path.","error":"Module not found: Error: Can't resolve 'esbuild-progress'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}