Registry /
devops / bubbleup-plugin-build-rollup
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
muslnode 18–223 runs
build_error
glibcnode 18–223 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
Errors
Common errors & fixes
bubbleup: command not found
bubbleup is not installed globally or not in PATH
fixEnsure 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
fixRun `npm install bubbleup-plugin-build-rollup --save-dev`
Error: plugin is not a function
Custom plugin defined incorrectly (not an object with exec method)
fixEnsure plugin exports an object with `exec` property: `module.exports = { exec: function(rollupOptions, writeOptions) { ... } }` Audit
Dependencies
bubbleuprequiredCore build orchestrator that this plugin extends
rolluprequiredJavaScript bundler used to bundle modules