{"library":"rollup-plugin-extract-bundle-tree","title":"rollup-plugin-extract-bundle-tree","description":"Rollup plugin (v1.2.0) that exports the bundle module tree as a JSON file for analysis or visualization. It provides per-file information including chunk name, entry/dynamic entry flags, asset detection, imports, and dynamic imports. The plugin is lightweight and has no dependencies beyond Rollup >=1.9.0. It is ideal for build pipeline introspection, dependency mapping, or custom tooling.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-extract-bundle-tree"],"cli":null},"imports":["import bundleTree from 'rollup-plugin-extract-bundle-tree'","import bundleTree from 'rollup-plugin-extract-bundle-tree'","bundleTree({ file: 'tree.json' })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport bundleTree from 'rollup-plugin-extract-bundle-tree';\n\nexport default {\n  input: 'src/index.js',\n  output: { dir: 'dist', format: 'esm' },\n  plugins: [\n    bundleTree({ file: 'bundle-tree.json' })\n  ]\n}","lang":"javascript","description":"Basic Rollup configuration using the plugin to export the bundle tree to bundle-tree.json.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}