Registry / devops / roller-bundler

roller-bundler

JSON →
library0.0.2jsnpmunverified

Roller is a minimal library bundler built on top of Rollup, designed for quick setup and zero configuration. It wraps Rollup's capabilities into a simple CLI command, targeting library authors who want to bundle TypeScript/JavaScript without complex configuration. Version 0.0.2 is in early development, with no stable release cadence. Unlike Rollup directly, Roller abstracts away configuration but offers limited customization. Key differentiator: simplicity over flexibility.

npm install roller-bundler
INSTALL
IMPORT
SIG · ROLLER-BUNDLER
R
roller-bundler
devopsjavascriptv0.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

default
import roller from 'roller-bundler'
const roller = require('roller-bundler')
Package is ESM-only (exports default function). CommonJS require will fail.
BundleConfig
import type { BundleConfig } from 'roller-bundler'
import { BundleConfig } from 'roller-bundler'
TypeScript type export. Do not use at runtime.
roll
import { roll } from 'roller-bundler'
import roll from 'roller-bundler/roll'
Named export, not a separate module. Available in ESM only.

Install roller-bundler as dev dependency and run with npx to bundle with zero config. Expects source files in src/, outputs to dist/.

npm install roller-bundler -D npx roller
roller --version
Debug
Known issues
gotchaRoller does not support custom Rollup plugins or configuration. For advanced use cases, use Rollup directly.
fix
Use Rollup with rollup.config.js if you need plugins.
affects: >=0.0.1
breakingVersion 0.0.2 changed CLI output directory from build/ to dist/. Existing scripts may break.
fix
Update paths or use --output option if available (check docs).
affects: >=0.0.1 <0.0.2
deprecatedThe roll export is deprecated in favor of the default export. Will be removed in next major.
fix
Use import roller from 'roller-bundler' instead.
affects: >=0.0.1
Errors
Common errors & fixes
Cannot find module 'roller-bundler'
Package not installed or ESM-only and used with require()
fix
Install as dev dependency and use import syntax or set type: module in package.json.
TypeError: roller is not a function
Calling the default import as a constructor or without parentheses
fix
Use roller() with parentheses after import.
Error: No input files found. Expected src/index.js or src/index.ts
Default entry point missing. Roller expects a source file in src/.
fix
Create either src/index.js or src/index.ts as your entry point.
Upgrade
Version history
0.0.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
roller-bundler — npm install roller-bundler · libregistry