Registry / devops / rollup-plugin-progress

rollup-plugin-progress

JSON →
library1.1.2jsnpmunverified

A Rollup plugin that displays a progress bar and the current module being transpiled during the build process. Version 1.1.2 (latest as of 2017) is stable with no active development. It provides real-time feedback via a progress bar and the filename of the current module, with an option to preserve terminal output (clearLine: false). Differentiator: simple, lightweight, no frills; minimal compared to alternatives like rollup-plugin-visualizer or rollup-plugin-progress-plugin.

npm install rollup-plugin-progress
INSTALL
IMPORT
SIG · ROLLUP-PLUGIN-PROG
R
rollup-plugin-progress
devopsjavascriptv1.1.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import progress from 'rollup-plugin-progress'
const progress = require('rollup-plugin-progress')
Package is CJS, but default export works in both ESM and CJS environments.
progress
import progress from 'rollup-plugin-progress'
import { progress } from 'rollup-plugin-progress'
Default export only; named import does not exist.

Shows how to configure the progress plugin with Rollup, including the optional clearLine flag.

import { rollup } from 'rollup'; import progress from 'rollup-plugin-progress'; rollup({ input: 'src/index.js', plugins: [ progress({ clearLine: false // default: true }) ] }).then(bundle => { bundle.write({ file: 'dist/bundle.js', format: 'iife' }); });
Debug
Known issues
gotchaclearLine defaults to true, which clears the progress output after completion, hiding it from logs.
fix
Set clearLine: false if you want to preserve the progress output.
affects: >=1.0.0
gotchaPlugin may not work with Rollup >=3 due to API changes; last update was for Rollup 0.x/1.x.
fix
Consider using rollup-plugin-progress-plugin or omit progress plugin.
affects: >=3.0.0
gotchaNo TypeScript type definitions are provided.
fix
Install @types/rollup-plugin-progress if needed, or use a require() with type assertion.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'rollup-plugin-progress'
Package not installed or missing from node_modules.
fix
Run npm install rollup-plugin-progress --save-dev
TypeError: progress is not a function
Using named import instead of default import.
fix
Replace import { progress } from 'rollup-plugin-progress' with import progress from 'rollup-plugin-progress'
Upgrade
Version history
1.1.2latest on npm
Audit
Dependencies
rolluprequiredPeer dependency; plugin requires Rollup to function.
Agent activity
4 hits · last 30 days
node
4
Resources
rollup-plugin-progress — npm install rollup-plugin-progress · libregistry