{"library":"rollup-plugin-unbundle","title":"rollup-plugin-unbundle","description":"Rollup plugin to externalize dependencies that should not be bundled (e.g., dependencies, peerDependencies, Node.js built-ins). v3.2.0 adds Rollup v4 support. Maintained actively, with a focus on correct externalization and side-effect detection. Unlike manual external configuration, it integrates with @rollup/plugin-node-resolve and respects the package.json sideEffects field. Requires Node >=16.15 and Rollup 2.79.1 - 5.0. Ships TypeScript definitions.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-unbundle"],"cli":null},"imports":["import unbundle from 'rollup-plugin-unbundle'","import unbundle from 'rollup-plugin-unbundle'","import type { UnbundleOptions } from 'rollup-plugin-unbundle'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import unbundle from 'rollup-plugin-unbundle';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    format: 'esm',\n    file: 'dist/bundle.js',\n  },\n  plugins: [\n    unbundle({\n      // Externalize all dependencies and peerDependencies\n      // Node built-ins are externalized automatically\n    }),\n  ],\n};","lang":"typescript","description":"Show minimal rollup.config.js that uses the plugin to externalize dependencies and Node.js built-ins.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}