Registry / devops / rollup-config-fabulator

rollup-config-fabulator

JSON →
library2.1.0jsnpmunverified

Fabulator's default Rollup configuration for compiling JavaScript libraries. Current stable version is 2.1.0 (April 2024). Provides a pre-configured Rollup setup with plugins for bundling, minification, and serving. Differentiates by offering a minimal, opinionated config tailored for libraries rather than apps, simplifying setup for Fabulator-based projects. Release cadence is irregular with maintenance updates. Node.js >=12.22.12 required.

npm install rollup-config-fabulator
INSTALL
IMPORT
SIG · ROLLUP-CONFIG-FABU
R
rollup-config-fabulator
devopsjavascriptv2.1.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–223 runs
build_error
glibc
node 18–223 runs
build_error
Code
Verified usage

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

default
✓ import config from 'rollup-config-fabulator'
✗ const config = require('rollup-config-fabulator')
CJS require may work but ESM is preferred. The package likely exports a function that returns a config object.

Shows basic usage: import the default config and customize input/output paths.

import config from 'rollup-config-fabulator'; export default config({ input: 'src/index.js', output: [ { file: 'dist/index.cjs.js', format: 'cjs' }, { file: 'dist/index.esm.js', format: 'es' } ] });
Debug
Known issues
breakingv2.0.0: Updated rollup-plugin-serve to v2 (BREAKING).
fix
If using rollup-plugin-serve, update its usage according to v2 docs.
affects: >=2.0.0
deprecatedPackage may become unmaintained; recent updates only dependency bumps.
fix
Consider migrating to a more active config like @rollup/config-ecmascript.
affects: <2.0.0
Errors
Common errors & fixes
Error: Cannot find module 'rollup-config-fabulator'
Package not installed or not in node_modules.
fix
Run `npm install rollup-config-fabulator --save-dev`.
TypeError: config is not a function
Importing the package as object instead of calling the default export function.
fix
Use `const configFunction = require('rollup-config-fabulator').default;` or `import config from 'rollup-config-fabulator'` and call `config(...)`.
Upgrade
Version history
2.1.0latest on npm
Audit
Dependencies
rollupoptionalpeer dependency; core bundler
Agent activity
5 hits · last 30 days
node
4
Resources
rollup-config-fabulator — npm install rollup-config-fabulator · libregistry