{"id":21896,"library":"rollup-config","title":"rollup-config","description":"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.","status":"maintenance","version":"1.0.1","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","rollup","config","node"],"install":[{"cmd":"npm install rollup-config","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-config","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-config","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for Rollup bundler","package":"rollup","optional":false}],"imports":[{"note":"Default export, but the package is a CLI tool; not typically imported directly.","wrong":"const rollupConfig = require('rollup-config');","symbol":"rollupConfig","correct":"import rollupConfig from 'rollup-config';"}],"quickstart":{"code":"npm install -g rollup-config\nroll init my-lib\ncd my-lib\nnpm install\nnpm run build","lang":"javascript","description":"Installs global CLI, scaffolds a Rollup project, and runs build."},"warnings":[{"fix":"Use the `roll` command globally instead of importing.","message":"Package is a CLI tool, not a library to import. Trying to import 'rollup-config' in code will not work as expected.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Consider using create-rollup or manual configuration.","message":"No updates since 2018; may not support modern Rollup versions.","severity":"deprecated","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install globally and use the `roll` command.","cause":"Attempting to import the package in code when it's a CLI tool.","error":"Cannot find module 'rollup-config'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}