{"id":26321,"library":"roller-bundler","title":"Roller Bundler","description":"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.","status":"active","version":"0.0.2","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install roller-bundler","lang":"bash","label":"npm"},{"cmd":"yarn add roller-bundler","lang":"bash","label":"yarn"},{"cmd":"pnpm add roller-bundler","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is ESM-only (exports default function). CommonJS require will fail.","wrong":"const roller = require('roller-bundler')","symbol":"default","correct":"import roller from 'roller-bundler'"},{"note":"TypeScript type export. Do not use at runtime.","wrong":"import { BundleConfig } from 'roller-bundler'","symbol":"BundleConfig","correct":"import type { BundleConfig } from 'roller-bundler'"},{"note":"Named export, not a separate module. Available in ESM only.","wrong":"import roll from 'roller-bundler/roll'","symbol":"roll","correct":"import { roll } from 'roller-bundler'"}],"quickstart":{"code":"npm install roller-bundler -D\nnpx roller","lang":"javascript","description":"Install roller-bundler as dev dependency and run with npx to bundle with zero config. Expects source files in src/, outputs to dist/."},"warnings":[{"fix":"Use Rollup with rollup.config.js if you need plugins.","message":"Roller does not support custom Rollup plugins or configuration. For advanced use cases, use Rollup directly.","severity":"gotcha","affected_versions":">=0.0.1"},{"fix":"Update paths or use --output option if available (check docs).","message":"Version 0.0.2 changed CLI output directory from build/ to dist/. Existing scripts may break.","severity":"breaking","affected_versions":">=0.0.1 <0.0.2"},{"fix":"Use import roller from 'roller-bundler' instead.","message":"The roll export is deprecated in favor of the default export. Will be removed in next major.","severity":"deprecated","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install as dev dependency and use import syntax or set type: module in package.json.","cause":"Package not installed or ESM-only and used with require()","error":"Cannot find module 'roller-bundler'"},{"fix":"Use roller() with parentheses after import.","cause":"Calling the default import as a constructor or without parentheses","error":"TypeError: roller is not a function"},{"fix":"Create either src/index.js or src/index.ts as your entry point.","cause":"Default entry point missing. Roller expects a source file in src/.","error":"Error: No input files found. Expected src/index.js or src/index.ts"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}