rollup-config

raw JSON →
1.0.1 verified Mon Apr 27 auth: no javascript maintenance

rollup-config is a CLI tool that scaffolds Rollup configuration for JavaScript library development. Version 1.0.1 is the latest. It provides a quickstart template with build, watch, and test scripts. Differentiator: simple global installation and scaffolding, but minimal docs and no active maintenance signs. Alternative to manually setting up Rollup presets.

error Cannot find module 'rollup-config'
cause Attempting to import the package in code when it's a CLI tool.
fix
Install globally and use the roll command.
gotcha Package is a CLI tool, not a library to import. Trying to import 'rollup-config' in code will not work as expected.
fix Use the `roll` command globally instead of importing.
deprecated No updates since 2018; may not support modern Rollup versions.
fix Consider using create-rollup or manual configuration.
npm install rollup-config
yarn add rollup-config
pnpm add rollup-config

Installs global CLI, scaffolds a Rollup project, and runs build.

npm install -g rollup-config
roll init my-lib
cd my-lib
npm install
npm run build