Rollup Scripts is a zero-configuration compiler and bundler designed for JavaScript and TypeScript libraries, wrapping Rollup's core functionality to eliminate manual setup. It provides out-of-the-box support for JS, TS, React, and Preact projects. Currently at version 0.0.131, it is explicitly marked as experimental and in active development, meaning versions are unstable and intended for trial purposes only. Its primary differentiator is simplifying the build process by abstracting Rollup configurations, reducing boilerplate for library authors. Future updates are planned to extend support to Angular, Vue, and Svelte.
npm install rollup-scriptsVerified import paths — ran on the pinned version, not inferred.
Initializes an npm project, installs rollup-scripts, creates a basic ESM entry file, provides instructions to configure package.json scripts, and executes a build.
Avoid using in production environments. Monitor the GitHub repository for stable releases (e.g., 1.0.0) and breaking change announcements.
Install using 'npm i -D --save-exact rollup-scripts' within your project directory.
Carefully follow the 'Getting started' guide in the README, ensuring your project structure and package.json scripts and entry points align with the recommended setup.
Ensure 'rollup-scripts' is installed as a dev dependency ('npm i -D rollup-scripts') and run it via 'npx rollup-scripts <command>' or through an npm script defined in package.json (e.g., 'npm run build').Verify that a supported entry file exists in your 'src' directory (e.g., 'src/index.mjs') and that your `package.json` 'main' and 'module' fields correctly point to the intended output paths and file types.
No dependency data recorded yet.