A utility to quickly generate Rollup configurations for TypeScript projects. Version 0.1.3, stable but infrequent releases. Simplifies setup with minimal boilerplate, handling TypeScript compilation, CommonJS/ESM output, and external dependencies. Different from manual configs by offering a declarative API with sensible defaults, reducing the learning curve for bundling TypeScript with Rollup. Currently without active maintenance updates.
npm install rollup-simple-configerVerified import paths — ran on the pinned version, not inferred.
Creates a Rollup configuration for a TypeScript project with CJS and ESM outputs, using @rollup/plugin-typescript.
Use dynamic import() or switch project to ESM.
Evaluate if custom config is needed.
Always pass the desired plugins in the options.
Configure TypeScript plugin explicitly with tsconfig path.
Use dynamic import() or refactor project to use ESM.
Ensure plugins are instantiated (e.g., typescript() instead of typescript).