Registry / devops / yougile-rollup

yougile-rollup

JSON →
library3.29.5jsnpmunverified

A stripped-down fork of Rollup v3 (3.29.5) with fsevents removed, intended for internal YouGile use in binary bundling where external binaries/resources are unsupported. Based on Rollup 3.x, not actively maintained for public use; no updates track upstream Rollup 4.x. Not recommended for new projects—use official Rollup v4 instead. Key differentiator: avoids fsevents dependency, but lacks latest features, bug fixes, and is unsupported.

npm install yougile-rollup
INSTALL
IMPORT
SIG · YOUGILE-ROLLUP
Y
yougile-rollup
devopsjavascriptv3.29.5
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.

rollup
import { rollup } from 'yougile-rollup'
const rollup = require('yougile-rollup')
Package is ESM-only because Rollup 3.x defaults to ESM. Use dynamic import if needed in CJS.
rollup (default)
import rollup from 'yougile-rollup'
const rollup = require('yougile-rollup').default
Default export is available, but named export is preferred for consistency with official Rollup.
defineConfig
import { defineConfig } from 'yougile-rollup'
Only available in Rollup >=3.29.0. Not present in older versions.

Minimal Rollup usage: create a bundle from a single entry, generate output in ES module format, and print code.

import { rollup } from 'yougile-rollup'; const bundle = await rollup({ input: 'src/index.js', }); const { output } = await bundle.generate({ format: 'es' }); for (const chunkOrAsset of output) { if (chunkOrAsset.type === 'chunk') { console.log(chunkOrAsset.code); } } await bundle.close();
rollup --version
Debug
Known issues
deprecatedyougile-rollup is based on Rollup v3 and not updated; use official Rollup v4 instead.
fix
Migrate to rollup@4: update import paths, review breaking changes in Rollup 4 release notes.
affects: >=3.0.0
breakingRollup v3 does not support top-level await in output ES modules (requires experimental flag).
fix
Use output.format = 'es' with Rollup v4, or enable experimentalTopLevelAwait in Rollup v3.
affects: 3.x
gotchaMissing fsevents means file watching via --watch may fail on macOS or cause runtime errors.
fix
Do not use --watch on macOS; or mock fsevents externally if needed.
affects: >=3.0.0
deprecatedReturning import attributes from load/transform hooks is deprecated as of Rollup v4.57.0, but this package is locked at v3, so no issue.
fix
No action needed for v3; when upgrading, follow official Rollup 5 migration.
affects: 3.x
Errors
Common errors & fixes
Error: Cannot find module 'fsevents'
yougile-rollup removed fsevents dependency; some features like file watcher require it.
fix
Install fsevents globally or avoid using rollup --watch on macOS.
TypeError: rollup is not a function
CommonJS require returns a module object; Rollup v3+ is ESM-only.
fix
Use import { rollup } from 'yougile-rollup' or dynamic import in CJS: const { rollup } = await import('yougile-rollup').
Error: You must specify input in the rollup options
Rollup options object omitted or invalid.
fix
Pass a valid options object with 'input' property: rollup({ input: 'src/index.js' }).
Upgrade
Version history
3.29.5latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
yougile-rollup — npm install yougile-rollup · libregistry