{"id":22186,"library":"rollup-plugin-progress2","title":"rollup-plugin-progress2","description":"A Rollup plugin that displays the current module being transpiled during the bundling process. Version 0.2.3 rewrites the original rollup-plugin-progress in TypeScript and adds support for Rollup v3. It provides a simple progress indicator with an optional clearLine configuration. Unlike the original, this version is maintained, typed, and compatible with Rollup v3. Released as a scoped replacement, it has a low release cadence and minimal dependencies.","status":"active","version":"0.2.3","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","rollup","plugin","progress","progressbar","typescript"],"install":[{"cmd":"npm install rollup-plugin-progress2","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-plugin-progress2","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-plugin-progress2","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency: works only with Rollup v3","package":"rollup","optional":false}],"imports":[{"note":"The package exports a default function; CommonJS require() does not work with this ESM-only module.","wrong":"const progress = require('rollup-plugin-progress2')","symbol":"default","correct":"import progress from 'rollup-plugin-progress2'"},{"note":"The export is a default export, not named. Using destructuring will yield undefined.","wrong":"import { progress } from 'rollup-plugin-progress2'","symbol":"progress","correct":"import progress from 'rollup-plugin-progress2'"},{"note":"Plugin type is from Rollup, not from this package. Wrong import leads to 'Plugin not exported' error.","wrong":"import { Plugin } from 'rollup-plugin-progress2'","symbol":"Plugin","correct":"import type { Plugin } from 'rollup'"}],"quickstart":{"code":"import { defineConfig } from 'rollup';\nimport progress from 'rollup-plugin-progress2';\n\nexport default defineConfig({\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'es'\n  },\n  plugins: [\n    progress({\n      clearLine: true\n    })\n  ]\n});","lang":"typescript","description":"Shows the minimum configuration to use rollup-plugin-progress2 with Rollup v3, including the import and plugin setup."},"warnings":[{"fix":"Set clearLine: true (default) to clear the progress line after each module.","message":"Setting clearLine to false will leave the progress line visible after bundling, which can clutter the terminal output.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Ensure Rollup version is 3.x.","message":"The plugin only supports Rollup v3, not v2 or v4. Use with Rollup v2 will fail silently or cause errors.","severity":"gotcha","affected_versions":">=0.2.0"},{"fix":"Use rollup-plugin-progress2 instead.","message":"The original rollup-plugin-progress is deprecated and unmaintained. This fork replaces it.","severity":"deprecated","affected_versions":"<0.2.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use import instead, or set { \"type\": \"module\" } in package.json.","cause":"Trying to use require() on an ESM-only package.","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module not supported."},{"fix":"Use import progress from 'rollup-plugin-progress2'.","cause":"Using named import instead of default import.","error":"TypeError: progress is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}