{"library":"rollup-config-external-dependencies","title":"rollup-config-external-dependencies","description":"Rollup configuration to automatically externalize all dependencies, peerDependencies, and optionalDependencies from the bundle. v3.0.1 is current, released June 2024. Node >=18.12.0 required, ESM-only since v3. Differentiators: zero-config, respects package.json fields, works with CommonJS and ESM outputs, and supports TypeScript projects out of the box. Releases are infrequent; v3 breaking change was dropping CJS and older Node versions.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-config-external-dependencies"],"cli":null},"imports":["import { externalDependencies } from 'rollup-config-external-dependencies';","export default { ..., plugins: [externalDependencies()] }","const { externalDependencies } = await import('rollup-config-external-dependencies');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport { externalDependencies } from 'rollup-config-external-dependencies';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'esm',\n  },\n  plugins: [\n    externalDependencies(),\n  ],\n};","lang":"javascript","description":"Basic Rollup config using externalDependencies to automatically exclude external packages from bundle.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}