{"library":"rollup-plugin-dts-bundle-generator","title":"rollup-plugin-dts-bundle-generator","description":"A Rollup plugin that wraps dts-bundle-generator to produce a single, flattened .d.ts bundle from TypeScript declarations. Current version 1.4.0, released with MIT license. It aims to solve the long-standing difficulty of generating bundled TypeScript typings in Rollup builds with a zero-config approach, deriving defaults from Rollup input/output. Supports entry point configuration and compilation options. Compared to alternatives like rollup-plugin-dts, it focuses on simplicity and relies on dts-bundle-generator which is actively maintained. Ships TypeScript types.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-dts-bundle-generator"],"cli":null},"imports":["import { generateDtsBundle } from 'rollup-plugin-dts-bundle-generator'","import type { PluginConfig } from 'rollup-plugin-dts-bundle-generator'","import type { EntryPointConfig } from 'rollup-plugin-dts-bundle-generator'","import type { CompilationOptions } from 'rollup-plugin-dts-bundle-generator'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { generateDtsBundle } from 'rollup-plugin-dts-bundle-generator';\n\nexport default {\n  input: 'src/index.ts',\n  output: {\n    file: 'dist/bundle.js',\n    format: 'cjs'\n  },\n  plugins: [\n    generateDtsBundle({\n      outFile: 'types/index.d.ts',\n      compilation: {\n        preferredConfigPath: 'tsconfig.build.json'\n      }\n    })\n  ]\n};","lang":"typescript","description":"Configures Rollup plugin to generate a bundled .d.ts file with custom output path and compiler settings.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}