Registry / devops / rollup-package

rollup-package

JSON →
library1.0.0jsnpmunverified

rollup-package is a CLI tool for building and managing Rollup configurations, version 1.0.0. It provides a simplified interface for generating Rollup configs with common plugins and presets. The package is actively maintained with monthly releases. Key differentiators include automatic dependency resolution and built-in TypeScript support, reducing boilerplate compared to manual Rollup setup.

npm install rollup-package
INSTALL
IMPORT
SIG · ROLLUP-PACKAGE
R
rollup-package
devopsjavascriptv1.0.0
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.

createConfig
import { createConfig } from 'rollup-package'
const createConfig = require('rollup-package')
ESM-only since v1.0.0

Generates a Rollup configuration with TypeScript and module resolution plugins using the createConfig helper.

import { createConfig } from 'rollup-package'; const config = createConfig({ input: 'src/index.ts', output: { file: 'dist/bundle.js', format: 'esm' }, plugins: ['typescript', 'resolve'], }); export default config;
rollup-package --version
Debug
Known issues
gotchaIf no output format is specified, the default format is 'esm' which may not work in all environments.
fix
Explicitly set output.format to 'cjs' or 'iife' if targeting CommonJS or browsers.
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'rollup-package'
Package not installed or incorrect import path
fix
npm install rollup-package && ensure import path is correct
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies
rolluprequiredCore bundler dependency
Agent activity
4 hits · last 30 days
node
4
Resources
rollup-package — npm install rollup-package · libregistry