{"library":"parcel-plugin-bundle-visualiser","title":"Parcel Bundle Visualiser Plugin","description":"parcel-plugin-bundle-visualiser is a plugin for the Parcel 1.x bundler that generates an interactive treemap visualization of your bundle contents. This allows developers to easily inspect asset sizes, identify large dependencies, and optimize their application's footprint. The plugin outputs an `report.html` file to the build directory when Parcel runs in production mode. Inspired by `webpack-bundle-analyzer`, it provides detailed insights into individual assets and bundles, including their minified sizes and estimated gzipped sizes. The package is currently at version 1.2.0, with its last update several years ago, primarily supporting Parcel 1.x. Given that Parcel 2.x has a built-in bundle analyzer, this plugin is effectively abandoned for newer Parcel versions and in maintenance mode for legacy Parcel 1.x projects.","language":"javascript","status":"abandoned","last_verified":"Sun Apr 19","install":{"commands":["npm install parcel-plugin-bundle-visualiser"],"cli":null},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm install --save-dev parcel-plugin-bundle-visualiser parcel-bundler\n# OR\nyarn add --dev parcel-plugin-bundle-visualiser parcel-bundler\n\n# Ensure Parcel knows about the plugin by adding it to package.json\n# (usually not strictly necessary for auto-discovery but good practice for clarity)\n{\n  \"name\": \"my-parcel-app\",\n  \"version\": \"1.0.0\",\n  \"main\": \"index.html\",\n  \"devDependencies\": {\n    \"parcel-bundler\": \"^1.x\",\n    \"parcel-plugin-bundle-visualiser\": \"^1.x\"\n  },\n  \"parcel-plugins\": [\"parcel-plugin-bundle-visualiser\"]\n}\n\n# Run Parcel build in production mode\n# The report.html will be generated in your output directory (e.g., `dist/report.html`)\nNODE_ENV=production parcel build index.html","lang":"bash","description":"Installs the plugin and demonstrates how to trigger a bundle report generation using Parcel 1.x in production mode.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}