Registry / devops / vite-plugin-progress

vite-plugin-progress

JSON →
library0.0.7jsnpmunverified

A Vite plugin that displays a customizable progress bar during the build process. Current stable version is 0.0.7. It wraps the node-progress library and supports options like format, width, color via picocolors, and more. It is designed for Vite developers who want visual feedback on build progress, similar to progress-bar-webpack-plugin but for Vite. The plugin is lightweight, supports TypeScript, and has a simple API. Release cadence is low; it is a stable utility with few updates.

npm install vite-plugin-progress
INSTALL
IMPORT
SIG · VITE-PLUGIN-PROGRE
V
vite-plugin-progress
devopsjavascriptv0.0.7
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 'vite-plugin-progress'
const progress = require('vite-plugin-progress')
ESM-only; CommonJS require is not supported.
Types
import type { ProgressOptions } from 'vite-plugin-progress'
import { ProgressOptions } from 'vite-plugin-progress'
Type import is safe; value import will cause runtime error because ProgressOptions is not exported as a value.
Plugin
import progress from 'vite-plugin-progress' export default { plugins: [progress()] }
import { progress } from 'vite-plugin-progress'
progress is a default export, not a named export.

Shows how to add the plugin with custom options to a Vite config.

// vite.config.ts import progress from 'vite-plugin-progress' export default { plugins: [ progress({ format: 'building [:bar] :percent', total: 200, width: 60, complete: '=', incomplete: '' }) ] }
Debug
Known issues
gotchaThe `total` option does not correspond to actual file count; it sets the total ticks for the progress bar. Default total is 0, leading to no progress display.
fix
Set `total` explicitly (e.g., 200) or rely on internal counting (but may show no progress).
affects: >=0.0.0
deprecatedThe `srcDir` option is deprecated and may be removed in future versions.
fix
Do not use `srcDir`; remove it from options.
affects: >=0.0.6
gotchaDuring first build, `transforms` and `chunks` are not displayed. Progress may appear incomplete initially.
fix
No fix; this is expected behavior. Subsequent builds show full progress.
affects: >=0.0.0
breakingVersion 0.0.7 changed cache judgment logic; builds with caching may see unexpected behavior.
fix
Clear cache (`rm -rf node_modules/.vite`) if issues occur.
affects: 0.0.7
Upgrade
Version history
0.0.7latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
vite-plugin-progress — npm install vite-plugin-progress · libregistry