Registry / devops / rollup-config-signalsciences

rollup-config-signalsciences

JSON →
library4.0.9jsnpmunverified

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.

npm install rollup-config-signalsciences
INSTALL
IMPORT
SIG · ROLLUP-CONFIG-SIGN
R
rollup-config-signalsciences
devopsjavascriptv4.0.9
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
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 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

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

config
module.exports = require('rollup-config-signalsciences')
import config from 'rollup-config-signalsciences';
Uses CommonJS require, not ESM import. The config is exported as a module.exports object.
config
import config from 'rollup-config-signalsciences'
ESM import also works as the package may have a default export, but documentation shows require.
rollupConfig
const rollupConfig = require('rollup-config-signalsciences')
const { rollupConfig } = require('rollup-config-signalsciences')
The export is a single default object, not a named export.

Shows installation and usage of the shared Rollup config via a CommonJS require in rollup.config.js.

// Install peer dependencies: npm install rollup @babel/core --save-dev // Install this config: npm install rollup-config-signalsciences --save-dev // rollup.config.js module.exports = require('rollup-config-signalsciences'); // Then build with: npx rollup -c
Debug
Known issues
gotchaThe preset is intended for Signal Sciences projects only and may change without warning. External use is discouraged.
fix
Create your own Rollup config instead of relying on this package for non-Signal Sciences projects.
affects: >=4.0.0
deprecatedThe package has minimal documentation and may not be maintained openly.
fix
Consider alternatives like @rollup/plugin-babel or rollup-plugin-babel if you need a Babel setup.
affects: >=4.0.0
gotchaThe config does not export individual plugins or options; it returns a single Rollup config object.
fix
Use the entire config as is; cannot easily extend parts of it.
affects: >=4.0.0
Errors
Common errors & fixes
Error: Cannot find module 'rollup-config-signalsciences'
Package not installed or peer dependencies missing.
fix
Run 'npm install rollup-config-signalsciences rollup @babel/core --save-dev'.
SyntaxError: Unexpected identifier
Trying to use ES import syntax in a CommonJS environment or vice versa.
fix
Use 'const config = require("rollup-config-signalsciences")' in rollup.config.js (which is CommonJS by default).
TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
Combining module.exports with ES import statements.
fix
Do not mix ES imports and CommonJS exports in the same file; stick to one pattern.
Upgrade
Version history
4.0.9latest on npm
Audit
Dependencies
@babel/corerequiredpeer dependency for Babel transformations
rolluprequiredpeer dependency - Rollup module bundler
Agent activity
7 hits · last 30 days
node
6
Resources
rollup-config-signalsciences — npm install rollup-config-signalsciences · libregistry