{"library":"presetter-preset-rollup","title":"presetter-preset-rollup","description":"An opinionated Presetter preset that adds professional Rollup 4 bundling to any base preset. Current stable version is 8.3.0, with monthly releases following the presetter ecosystem. Key differentiators: provides zero-configuration Rollup setup with dual CJS/ESM output, asset processing (images, CSS, JSON, YAML, GraphQL), TypeScript compilation via @rollup/plugin-typescript, bundle visualization via rollup-plugin-visualizer, and automatic path resolution via tsconfig-paths. Requires presetter 8.3.0 and node >=20.0.0. Compared to manual Rollup configuration or tools like tsdx/tsup, it integrates with the broader presetter ecosystem for linting, testing, and formatting via presetter-preset-essentials.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install presetter-preset-rollup"],"cli":null},"imports":["import { preset } from 'presetter'","import rollup from 'presetter-preset-rollup'","import rollup from 'presetter-preset-rollup'","import type { PresetConfig } from 'presetter'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// presetter.config.ts\nimport { preset } from 'presetter';\nimport essentials from 'presetter-preset-essentials';\nimport rollup from 'presetter-preset-rollup';\n\nexport default preset('my-library', {\n  extends: [essentials, rollup],\n  // Optional: override Rollup-specific settings\n  // Variables: {}, // see presetter-preset-rollup documentation\n});\n\n// Then run:\n// npx presetter bootstrap\n// npx presetter build\n// npx presetter watch","lang":"typescript","description":"Bootstrap a new project with Presetter and Rollup preset, defining the config file and typical build commands.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}