{"id":21891,"library":"rollup-config-fabulator","title":"rollup-config-fabulator","description":"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.","status":"active","version":"2.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/fabulator/rollup-config-fabulator","tags":["javascript","rollup","rollup-config","rollupconfig"],"install":[{"cmd":"npm install rollup-config-fabulator","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-config-fabulator","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-config-fabulator","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency; core bundler","package":"rollup","optional":true}],"imports":[{"note":"CJS require may work but ESM is preferred. The package likely exports a function that returns a config object.","wrong":"const config = require('rollup-config-fabulator')","symbol":"default","correct":"import config from 'rollup-config-fabulator'"}],"quickstart":{"code":"import config from 'rollup-config-fabulator';\n\nexport default config({\n  input: 'src/index.js',\n  output: [\n    { file: 'dist/index.cjs.js', format: 'cjs' },\n    { file: 'dist/index.esm.js', format: 'es' }\n  ]\n});","lang":"javascript","description":"Shows basic usage: import the default config and customize input/output paths."},"warnings":[{"fix":"If using rollup-plugin-serve, update its usage according to v2 docs.","message":"v2.0.0: Updated rollup-plugin-serve to v2 (BREAKING).","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Consider migrating to a more active config like @rollup/config-ecmascript.","message":"Package may become unmaintained; recent updates only dependency bumps.","severity":"deprecated","affected_versions":"<2.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `npm install rollup-config-fabulator --save-dev`.","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'rollup-config-fabulator'"},{"fix":"Use `const configFunction = require('rollup-config-fabulator').default;` or `import config from 'rollup-config-fabulator'` and call `config(...)`.","cause":"Importing the package as object instead of calling the default export function.","error":"TypeError: config is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}