Registry / devops / bubbleup-plugin-build-rollup

bubbleup-plugin-build-rollup

JSON →
library0.0.6jsnpmunverified

Rollup build plugin for bubbleup, providing zero-configuration build command for bundling JavaScript with Rollup. Version 0.0.6. Offers a simple CLI command `bubbleup build` with minimal setup, and exposes a plugin API for customizing Rollup options and write options. Designed as a lightweight integration between bubbleup and Rollup, focusing on convention over configuration.

npm install bubbleup-plugin-build-rollup
INSTALL
IMPORT
SIG · BUBBLEUP-PLUGIN-BU
B
bubbleup-plugin-build-rollup
devopsjavascriptv0.0.6
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.

plugin (default)
module.exports = { exec: function(rollupOptions, writeOptions) { ... } }
export default { exec: ... }
This is the plugin API, not an import. It uses CommonJS syntax for plugin definition.
bubbleup-plugin-build-rollup
Install with npm, then run `bubbleup build`
import bubbleupBuild from 'bubbleup-plugin-build-rollup'
This is a build plugin for bubbleup, not a direct import library. Use via CLI or bubbleup config.
custom plugin
require('./my-rollup-plugin.js') or define inline
Custom plugins are defined as CommonJS modules and passed to bubbleup config.

Shows installation, basic build command, and usage of custom plugins to modify rollup options.

// Install dependencies npm install bubbleup bubbleup-plugin-build-rollup // Build with default options bubbleup build src/index.js // Build with custom destination bubbleup build src/index.js -d dist/bundle.js // Custom plugin example (save as my-plugin.js) module.exports = { exec: function (rollupOptions, writeOptions) { // Add external dependencies rollupOptions.external = ['lodash']; // Change output format to iife writeOptions.format = 'iife'; } } // Use custom plugin via bubbleup config // In bubbleup.config.js: module.exports = { plugins: [require('./my-plugin.js')] }
bubbleup --version
Debug
Known issues
gotchaThis plugin is designed for bubbleup, not standalone Rollup usage. Attempting to import or use it directly as a Rollup plugin will fail.
fix
Use this plugin only within a bubbleup project. Run `bubbleup build` instead of calling Rollup directly.
affects: *
gotchaZero-configuration means bubbleup sets sensible defaults. If you need advanced Rollup features (like code splitting, dynamic imports), you must provide custom plugins.
fix
Create a bubbleup plugin that modifies rollupOptions or writeOptions accordingly.
affects: *
gotchaThe plugin API uses CommonJS (module.exports), not ES modules. Attempting to use `export default` will not work.
fix
Use `module.exports = { exec: function(rollupOptions, writeOptions) { ... } }` for custom plugins.
affects: *
Errors
Common errors & fixes
bubbleup: command not found
bubbleup is not installed globally or not in PATH
fix
Ensure bubbleup is installed: `npm install -g bubbleup` or use npx: `npx bubbleup build src/index.js`
Error: Cannot find module 'bubbleup-plugin-build-rollup'
The plugin is not installed in the project
fix
Run `npm install bubbleup-plugin-build-rollup --save-dev`
Error: plugin is not a function
Custom plugin defined incorrectly (not an object with exec method)
fix
Ensure plugin exports an object with `exec` property: `module.exports = { exec: function(rollupOptions, writeOptions) { ... } }`
Upgrade
Version history
0.0.6latest on npm
Audit
Dependencies
bubbleuprequiredCore build orchestrator that this plugin extends
rolluprequiredJavaScript bundler used to bundle modules
Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
2
Resources
bubbleup-plugin-build-rollup — npm install bubbleup-plugin-build-rollup · libregistry