Registry / devops / rollup-scripts-utils

rollup-scripts-utils

JSON →
library0.1.1jsnpmunverified

Utility package supporting rollup-scripts and rollup-boilerplate. Version 0.1.1. Provides shared helper functions, configuration presets, and build tooling for Rollup-based projects. Designed to reduce boilerplate when using rollup-scripts. Ships TypeScript types. Release cadence is low; mainly maintenance updates.

npm install rollup-scripts-utils
INSTALL
IMPORT
SIG · ROLLUP-SCRIPTS-UTI
R
rollup-scripts-utils
devopsjavascriptv0.1.1
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.

createConfig
✓ import { createConfig } from 'rollup-scripts-utils'
ESM import for creating Rollup configurations.
resolvePath
✓ import { resolvePath } from 'rollup-scripts-utils'
✗ const { resolvePath } = require('rollup-scripts-utils')
Package is ESM-only; require() will fail without dynamic import.
default
✓ import RollupScriptsUtils from 'rollup-scripts-utils'
Default export bundles all utilities.

Shows basic usage of createConfig and resolvePath from rollup-scripts-utils.

import { createConfig, resolvePath } from 'rollup-scripts-utils'; // Example usage const config = createConfig({ input: 'src/index.ts', output: { dir: 'dist', format: 'esm' }, }); const resolved = resolvePath('src/components'); console.log(resolved);
Debug
Known issues
gotchaPackage is ESM-only; CommonJS require() will not work.
fix
Use dynamic import: import('rollup-scripts-utils') or switch to ESM.
affects: >=0.0.1
deprecatedSome functions may be deprecated in future in favor of rollup-plugin-* packages.
fix
Check rollup-scripts CHANGELOG before using in new projects.
affects: 0.1.x
gotchaTypeScript types may not be fully up to date with latest APIs.
fix
Consider overriding types with @types/rollup if needed.
affects: <=0.1.1
Errors
Common errors & fixes
Cannot find module 'rollup-scripts-utils' or its corresponding type declarations.
Package not installed or TypeScript cannot resolve module.
fix
Run: npm install rollup-scripts-utils --save-dev
require() of ES Module /path/to/rollup-scripts-utils/index.js from /path/to/your-file.js not supported.
Using CommonJS require() with an ESM-only package.
fix
Use import statement or dynamic import() instead of require().
Upgrade
Version history
0.1.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rollup-scripts-utils — npm install rollup-scripts-utils · libregistry