{"library":"rollup-plugin-peer-deps-external","title":"rollup-plugin-peer-deps-external","description":"Automatically externalizes peerDependencies in Rollup bundles. Current stable version is 2.2.4 (last released October 2020), with a maintenance status. It eliminates manual enumeration of peer dependencies in the `external` config, supports module paths (e.g., `lodash/map`), and includes an optional `includeDependencies` flag. Compared to manually listing externals or using pattern-based approaches, this plugin provides a zero-config solution that reads from package.json. It is widely used in library bundling workflows and has minimal dependencies (only `rollup` as a peer dependency). Release cadence is low; no new features since 2.2.0.","language":"javascript","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-peer-deps-external"],"cli":null},"imports":["import peerDepsExternal from 'rollup-plugin-peer-deps-external'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport peerDepsExternal from 'rollup-plugin-peer-deps-external';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'esm'\n  },\n  plugins: [\n    // Should be placed first to ensure peer deps are external before other plugins process them\n    peerDepsExternal()\n  ]\n};","lang":"javascript","description":"Basic Rollup configuration using the plugin to automatically externalize peer dependencies from package.json.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}