{"id":21893,"library":"rollup-config-signalsciences","title":"Signal Sciences Rollup Config","description":"A shared Rollup configuration preset used internally by Signal Sciences projects. Version 4.0.9 requires Rollup ^2.0.0 and @babel/core ^7.13.0 as peer dependencies. It provides a minimal base config with no customization exposed. The README explicitly warns that the preset may change without notice and is intended only for Signal Sciences projects. It is not recommended for external use; authors suggest creating your own config instead.","status":"active","version":"4.0.9","language":"javascript","source_language":"en","source_url":"https://github.com/signalsciences/jsdx","tags":["javascript","rollup","config","signalsciences"],"install":[{"cmd":"npm install rollup-config-signalsciences","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-config-signalsciences","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-config-signalsciences","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency for Babel transformations","package":"@babel/core","optional":false},{"reason":"peer dependency - Rollup module bundler","package":"rollup","optional":false}],"imports":[{"note":"Uses CommonJS require, not ESM import. The config is exported as a module.exports object.","wrong":"import config from 'rollup-config-signalsciences';","symbol":"config","correct":"module.exports = require('rollup-config-signalsciences')"},{"note":"ESM import also works as the package may have a default export, but documentation shows require.","wrong":"","symbol":"config","correct":"import config from 'rollup-config-signalsciences'"},{"note":"The export is a single default object, not a named export.","wrong":"const { rollupConfig } = require('rollup-config-signalsciences')","symbol":"rollupConfig","correct":"const rollupConfig = require('rollup-config-signalsciences')"}],"quickstart":{"code":"// Install peer dependencies: npm install rollup @babel/core --save-dev\n// Install this config: npm install rollup-config-signalsciences --save-dev\n\n// rollup.config.js\nmodule.exports = require('rollup-config-signalsciences');\n\n// Then build with: npx rollup -c","lang":"javascript","description":"Shows installation and usage of the shared Rollup config via a CommonJS require in rollup.config.js."},"warnings":[{"fix":"Create your own Rollup config instead of relying on this package for non-Signal Sciences projects.","message":"The preset is intended for Signal Sciences projects only and may change without warning. External use is discouraged.","severity":"gotcha","affected_versions":">=4.0.0"},{"fix":"Consider alternatives like @rollup/plugin-babel or rollup-plugin-babel if you need a Babel setup.","message":"The package has minimal documentation and may not be maintained openly.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Use the entire config as is; cannot easily extend parts of it.","message":"The config does not export individual plugins or options; it returns a single Rollup config object.","severity":"gotcha","affected_versions":">=4.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-signalsciences rollup @babel/core --save-dev'.","cause":"Package not installed or peer dependencies missing.","error":"Error: Cannot find module 'rollup-config-signalsciences'"},{"fix":"Use 'const config = require(\"rollup-config-signalsciences\")' in rollup.config.js (which is CommonJS by default).","cause":"Trying to use ES import syntax in a CommonJS environment or vice versa.","error":"SyntaxError: Unexpected identifier"},{"fix":"Do not mix ES imports and CommonJS exports in the same file; stick to one pattern.","cause":"Combining module.exports with ES import statements.","error":"TypeError: Cannot assign to read only property 'exports' of object '#<Object>'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}