Registry / web-framework / rollup-plugin-ripple

rollup-plugin-ripple

JSON →
library0.2.152jsnpmunverified

A Rollup plugin for building Ripple applications. Ripple is a React-based framework for building user interfaces, and this plugin integrates it with Rollup. The current stable version is 0.2.152, but it is rarely updated and likely unmaintained. Differentiators: it allows developers to use Rollup as a bundler for Ripple projects instead of the default Ripple CLI. However, usage is minimal and documentation is scarce.

npm install rollup-plugin-ripple
INSTALL
IMPORT
SIG · ROLLUP-PLUGIN-RIPP
R
rollup-plugin-ripple
web-frameworkjavascriptv0.2.152
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.

ripple
import ripple from 'rollup-plugin-ripple'
const ripple = require('rollup-plugin-ripple')
ESM default import is correct; CommonJS require works but may not be type-safe.
ripple (named)
import { ripple } from 'rollup-plugin-ripple'
import Ripple from 'rollup-plugin-ripple'
The package exports a default export, not a named export. Using named export will fail.
ripple (CommonJS)
const ripple = require('rollup-plugin-ripple')
CJS require works for Node.js; ensure Rollup is configured for CJS?

Basic setup of rollup-plugin-ripple in a Rollup config file.

// rollup.config.js import ripple from 'rollup-plugin-ripple'; export default { input: 'src/main.js', output: { file: 'dist/bundle.js', format: 'esm' }, plugins: [ripple()] };
Debug
Known issues
deprecatedPackage is rarely updated and may have breaking changes with newer Rollup and Ripple versions.
fix
Consider using the official Ripple CLI or evaluate if this plugin is still needed.
affects: >=0.2.0
gotchaDefault import is required; named import does not work.
fix
Use 'import ripple from 'rollup-plugin-ripple'' or 'const ripple = require('rollup-plugin-ripple')'.
affects: all
gotchaPlugin must be called as a function in the plugins array (ripple()) not as an object.
fix
Ensure plugins array includes ripple() not just ripple.
affects: all
Errors
Common errors & fixes
Error: Cannot find module 'rollup-plugin-ripple'
Package not installed or not installed in the correct node_modules.
fix
Run 'npm install rollup-plugin-ripple' or 'yarn add rollup-plugin-ripple' in your project directory.
TypeError: ripple is not a function
Named import used instead of default import.
fix
Change 'import { ripple } from 'rollup-plugin-ripple'' to 'import ripple from 'rollup-plugin-ripple''.
AssertionError [ERR_ASSERTION]: The plugin 'ripple' must be a function or an object with a 'name' and 'transform' key.
Plugin added as an object to the plugins array instead of calling the function.
fix
Change 'plugins: [ripple]' to 'plugins: [ripple()]'.
Upgrade
Version history
0.2.152latest on npm
Audit
Dependencies
rolluprequiredPeer dependency required to use the plugin
Agent activity
4 hits · last 30 days
node
4
Resources
rollup-plugin-ripple — npm install rollup-plugin-ripple · libregistry