{"id":26337,"library":"rollup-start","title":"Rollup Starter","description":"A basic Rollup setup for React and styled-components. Version 0.2.5 is the latest release. Provides a self-executable configuration, but lacks active maintenance and documentation. Minimal dependencies: React ^16.9.0 and styled-components ^4.3.2. Not recommended for production.","status":"abandoned","version":"0.2.5","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","rollup","setup"],"install":[{"cmd":"npm install rollup-start","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-start","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-start","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required for JSX compilation","package":"react","optional":false},{"reason":"peer dependency for CSS-in-JS support","package":"styled-components","optional":false}],"imports":[{"note":"ESM-only package","wrong":"const rollupConfig = require('rollup-start')","symbol":"default","correct":"import rollupConfig from 'rollup-start'"},{"note":"Named export, not default","wrong":"import start from 'rollup-start'","symbol":"start","correct":"import { start } from 'rollup-start'"},{"note":"Case-sensitive export","wrong":"import { Build } from 'rollup-start'","symbol":"build","correct":"import { build } from 'rollup-start'"}],"quickstart":{"code":"import rollupConfig from 'rollup-start';\nimport { start, build } from 'rollup-start';\n\n// Example usage:\nconst config = rollupConfig({\n  input: 'src/index.js',\n  output: { file: 'dist/bundle.js', format: 'cjs' },\n  plugins: []\n});\n\nstart(config); // or build(config);","lang":"javascript","description":"Shows how to import the default config and the start/build functions, then use them."},"warnings":[{"fix":"Use an alternative like @rollup/plugin-babel or create-react-app.","message":"Package is abandoned; no updates since 2019.","severity":"breaking","affected_versions":"0.2.5"},{"fix":"Use a compatible React/styled-components version or migrate.","message":"Requires React 16.9.0 and styled-components 4.3.2; incompatible with newer versions.","severity":"deprecated","affected_versions":">=0.2.5"},{"fix":"Use @rollup/plugin-typescript or manually add typings.","message":"Missing type definitions; not TypeScript-compatible out of the box.","severity":"gotcha","affected_versions":"0.2.5"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: npm install rollup-start@0.2.5","cause":"Package not installed or not in node_modules.","error":"Cannot find module 'rollup-start'"},{"fix":"Add \"type\": \"module\" to package.json or use .mjs extension.","cause":"Trying to import ESM in a CommonJS environment.","error":"Uncaught SyntaxError: Cannot use import statement outside a module"},{"fix":"Use: import rollupConfig from 'rollup-start' (not require).","cause":"Incorrect import or usage of default export.","error":"TypeError: rollup_config is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}