{"id":22208,"library":"rollup-plugin-ripple","title":"rollup-plugin-ripple","description":"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.","status":"maintenance","version":"0.2.152","language":"javascript","source_language":"en","source_url":"https://github.com/trueadm/ripple","tags":["javascript"],"install":[{"cmd":"npm install rollup-plugin-ripple","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-plugin-ripple","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-plugin-ripple","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required to use the plugin","package":"rollup","optional":false}],"imports":[{"note":"ESM default import is correct; CommonJS require works but may not be type-safe.","wrong":"const ripple = require('rollup-plugin-ripple')","symbol":"ripple","correct":"import ripple from 'rollup-plugin-ripple'"},{"note":"The package exports a default export, not a named export. Using named export will fail.","wrong":"import Ripple from 'rollup-plugin-ripple'","symbol":"ripple (named)","correct":"import { ripple } from 'rollup-plugin-ripple'"},{"note":"CJS require works for Node.js; ensure Rollup is configured for CJS?","wrong":"","symbol":"ripple (CommonJS)","correct":"const ripple = require('rollup-plugin-ripple')"}],"quickstart":{"code":"// rollup.config.js\nimport ripple from 'rollup-plugin-ripple';\n\nexport default {\n  input: 'src/main.js',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'esm'\n  },\n  plugins: [ripple()]\n};","lang":"javascript","description":"Basic setup of rollup-plugin-ripple in a Rollup config file."},"warnings":[{"fix":"Consider using the official Ripple CLI or evaluate if this plugin is still needed.","message":"Package is rarely updated and may have breaking changes with newer Rollup and Ripple versions.","severity":"deprecated","affected_versions":">=0.2.0"},{"fix":"Use 'import ripple from 'rollup-plugin-ripple'' or 'const ripple = require('rollup-plugin-ripple')'.","message":"Default import is required; named import does not work.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure plugins array includes ripple() not just ripple.","message":"Plugin must be called as a function in the plugins array (ripple()) not as an object.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'npm install rollup-plugin-ripple' or 'yarn add rollup-plugin-ripple' in your project directory.","cause":"Package not installed or not installed in the correct node_modules.","error":"Error: Cannot find module 'rollup-plugin-ripple'"},{"fix":"Change 'import { ripple } from 'rollup-plugin-ripple'' to 'import ripple from 'rollup-plugin-ripple''.","cause":"Named import used instead of default import.","error":"TypeError: ripple is not a function"},{"fix":"Change 'plugins: [ripple]' to 'plugins: [ripple()]'.","cause":"Plugin added as an object to the plugins array instead of calling the function.","error":"AssertionError [ERR_ASSERTION]: The plugin 'ripple' must be a function or an object with a 'name' and 'transform' key."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}