Registry / devops / wrollup

wrollup

JSON →
library0.3.1jsnpmunverified

A simple file watcher for Rollup, designed to automatically rebuild bundles when source files change. Version 0.3.1 (last updated ~2018) is the current stable release. It is a lightweight alternative to rollup-watch, offering automatic recovery from errors and a clean logging interface. It watches a Rollup config file and triggers rebuilds, with options for caching, verbose output, and custom error glob patterns. Suitable for development workflows with Rollup, but note it is unmaintained and relies on older Rollup API patterns.

npm install wrollup
INSTALL
IMPORT
SIG · WROLLUP
W
wrollup
devopsjavascriptv0.3.1
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
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 18–223 runs
build_error
glibc
node 18–223 runs
build_error
Code
Verified usage

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

wrollup
✓ const wrollup = require('wrollup')
✗ import wrollup from 'wrollup'
The package is CommonJS only. As of v0.3.1, there is no default ESM export.
cli
✓ npx wrollup --help
✗ wrollup
The package is primarily used as a CLI tool. The CLI is the main interface; programmatic API is undocumented.
watchConfig
✓ wrollup({ config: 'rollup.config.js' })
The programmatic API takes an options object with config file path. This is inferred from source code.

Shows installation and basic CLI usage to watch a Rollup config file for changes, with dependency installation.

npm install --save-dev rollup wrollup # create rollup.config.js (see README) # run: npx wrollup -c rollup.config.js # Or add to package.json scripts: # "watch": "wrollup -c rollup.config.js" # Note: This package is outdated; consider using rollup --watch instead.
Debug
Known issues
deprecatedwrollup is unmaintained and may not work with modern Rollup versions (>=1.0.0). The project has not been updated since 2018.
fix
Use Rollup's built-in --watch flag: rollup -c --watch
affects: >=0.3.1
gotchawrollup depends on the 'rollup' package being installed separately as a peer. Missing rollup will cause a runtime error.
fix
Ensure rollup is installed: npm install --save-dev rollup
affects: >=0.0.0
breakingwrollup expects Rollup config files that export a plain object (not an array or async function). It does not support Rollup's config array or promise feature added in Rollup 1.x.
fix
If your config uses an array or async function, use Rollup's built-in watch instead.
affects: >=0.3.1
Errors
Common errors & fixes
Error: Cannot find module 'rollup'
Missing rollup peer dependency
fix
npm install --save-dev rollup
Error: Could not resolve config file rollup.config.js
Config file not found or wrong path
fix
Use -c option to specify path: wrollup -c path/to/config.js
TypeError: wrollup is not a function
Programmatic use with ES import instead of require
fix
Use const wrollup = require('wrollup'); (the package is CJS only)
Upgrade
Version history
0.3.1latest on npm
Audit
Dependencies
rolluprequiredRequired because wrollup invokes rollup's programmatic API to build and watch
Agent activity
19 hits · last 30 days
node
16
Amazon
1
Resources
wrollup — npm install wrollup · libregistry