{"_id":"webpack-visualizer-plugin2","_rev":"5-40769c56acb92633dd62c8f7c033a0a9","name":"webpack-visualizer-plugin2","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"webpack-visualizer-plugin2","version":"1.0.0","keywords":["webpack","statistics","bundle","chunks"],"author":{"url":"http://cbateman.com/","name":"Chris Bateman"},"license":"MIT","_id":"webpack-visualizer-plugin2@1.0.0","maintainers":[{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"}],"contributors":[{"url":"https://github.com/jonamat","name":"Jonathan Mataloni","email":"jo.mataloni@gmail.com"}],"homepage":"https://github.com/jonamat/webpack-visualizer#readme","bugs":{"url":"https://github.com/jonamat/webpack-visualizer/issues"},"dist":{"shasum":"de21ca141f53aea32c697e58a778dff3ef57794f","tarball":"https://registry.npmjs.org/webpack-visualizer-plugin2/-/webpack-visualizer-plugin2-1.0.0.tgz","fileCount":7,"integrity":"sha512-2z6Rdh5H1ZVhmdORQw1k7KvE5jI4IGDuRZISLWayNJXyY5Zwzf1vpMwDOGqV+i2zOj3KRvPzf59YdrK4GGL6VA==","signatures":[{"sig":"MEQCIAWFqYlqBXtp74K20/InisfY5XTLREDl0BdgZu8OcOpGAiAIzYR4uLfzfhJQB7l/VfBvfzFeP4XdiX+F7XT6QZl6DQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxDygCRA9TVsSAnZWagAAoSEQAKP/wCHurraUjQNvZArZ\nbSC4JxCpli75l4k2WOSVQ54sjzDejwsknt1R4K1ZL5IDySlit4TsB4jFbY3k\nqQX6YV4iEiLng+sszOKJScMLOHKo6LcJgw4b4yh+RM3hRf7iKvxQeUJFYHJD\nM2uNuFTRzrtz2YsrELyEiex4LMRYDwY8n6ITwvp2a/iYerhccFLaChdIT5wz\niUqQQ6i3q7Od/qppWVSgBf3Sk6iOGc/baoP82BcPmS8eF3ogujLcTkBTkQGA\nB1jL+mhdo0oVTUAmC9ndT2al50KihMiz7Kp/Di9QPSD6fJkUXYlsASPjBrfT\nQEb8BbMySJAEv26A18jtJ3dIhcDXbCQqb+kC6mlhhaVnVDXbM9lLWrSeVgFx\nmj8mjbvgI7U9oe0eHjEVR8AUDGcUCnmOiylTZU2HwtYLpO1V9+yGzxpMAQLB\nvV/V3ZbzpzkLGxLzT7A+j+YmRROiV8G+bYzKN7AlQh+IJKgA75/VNk7HO7dY\nghV+lRRNdymq5+YmXRs62eVc5CoFbdBO3fVsMbITd56FhFcUU+nrgGYP5Za8\nvQ0DpX99srinZ7AYZf+cFc0h8Wi1FyLjB4qqHrjakvIVN1HTNQEtJ4G/8+VY\nxFf6+8UP/8RxKZJ4niVRW6tXLa75dUMzOjS9JT6Zh15Penvping8+8sJseNB\nMPHd\r\n=nMOc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/plugin.js","engines":{"npm":">=5.0.0"},"gitHead":"ef3893d5699a0a67e72b8d4379aa6247d91fea8e","scripts":{"lint":"eslint src --ext .js,.jsx","build":"npm run build:site && npm run build:plugin","lint:fix":"eslint src --fix --ext .js,.jsx","build:site":"webpack --config ./webpack/site/webpack.prod.js","preversion":"npm run build","start:site":"webpack serve --config ./webpack/site/webpack.dev.js","publishSite":"git checkout gh-pages && cp dist-site/* . && git add . && git commit -m 'release' && git push origin gh-pages && git checkout master","build:plugin":"shx rm -rf ./lib/** && webpack --config ./webpack/plugin/webpack.prod.js && babel ./src/plugin/plugin.js --out-file lib/plugin.js --presets=@babel/preset-env","start:plugin":"webpack serve --config ./webpack/plugin/webpack.dev.js"},"_npmUser":{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"},"repository":{"url":"git+https://github.com/jonamat/webpack-visualizer.git","type":"git"},"_npmVersion":"6.14.8","description":"Generate webpack bundle chart","directories":{},"_nodeVersion":"15.2.0","dependencies":{"d3":"^3.5.6","react":"^17.0.1","mkdirp":"^0.5.1","react-dom":"^17.0.1","prop-types":"^15.7.2"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.3","eslint":"^7.14.0","webpack":"^5.9.0","prettier":"^2.2.1","@babel/cli":"^7.12.8","css-loader":"^5.0.1","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","style-loader":"^2.0.0","webpack-merge":"^5.4.0","@babel/preset-env":"^7.12.7","webpack-dev-server":"^3.11.0","@babel/preset-react":"^7.12.7","eslint-plugin-react":"^7.21.5","html-webpack-plugin":"^4.5.0","@babel/eslint-parser":"^7.12.1","clean-webpack-plugin":"^3.0.0","eslint-webpack-plugin":"^2.4.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","mini-css-extract-plugin":"^1.3.1","@babel/plugin-proposal-class-properties":"^7.12.1"},"_npmOperationalInternal":{"tmp":"tmp/webpack-visualizer-plugin2_1.0.0_1606696095413_0.23462656472098797","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"webpack-visualizer-plugin2","version":"1.1.0","keywords":["webpack","statistics","bundle","chunks"],"author":{"url":"http://cbateman.com/","name":"Chris Bateman"},"license":"MIT","_id":"webpack-visualizer-plugin2@1.1.0","maintainers":[{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"}],"contributors":[{"url":"https://github.com/jonamat","name":"Jonathan Mataloni","email":"jo.mataloni@gmail.com"}],"dist":{"shasum":"247256978c12ee2a0ec22e5d170f7d0b1ef98146","tarball":"https://registry.npmjs.org/webpack-visualizer-plugin2/-/webpack-visualizer-plugin2-1.1.0.tgz","fileCount":9,"integrity":"sha512-pB2Z9a12m+LwjrfptyR4ReEPc0llOjsb2lXVLEJ4yOnRCBtLeWW+TZrZihUZhJDSW9tc60UXnj9/orgyagLOkg==","signatures":[{"sig":"MEUCIQCPpA2keTy45WuWAFeeWPwR9t2pXeue9tg59OVtS+nOvgIgNy6II6UEK7jI/PF5Zckko4xfCdBj/R2g/P7oD8+amGw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":475606},"main":"lib/plugin.js","engines":{"npm":">=5.0.0"},"scripts":{"lint":"eslint src --ext .js,.jsx","build":"npm run build:site && npm run build:plugin","lint:fix":"eslint src --fix --ext .js,.jsx","build:site":"webpack --config ./webpack/site/webpack.prod.js","preversion":"npm run build","start:site":"webpack serve --config ./webpack/site/webpack.dev.js","publishSite":"git checkout gh-pages && cp dist-site/* . && git add . && git commit -m 'release' && git push origin gh-pages && git checkout master","build:plugin":"shx rm -rf ./lib/** && webpack --config ./webpack/plugin/webpack.prod.js && babel ./src/plugin/plugin.js --out-file lib/plugin.js --presets=@babel/preset-env","start:plugin":"webpack serve --config ./webpack/plugin/webpack.dev.js"},"_npmUser":{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"},"repository":{"url":"https://github.com/jonamat/webpack-visualizer","type":"git"},"description":"Generate webpack bundle chart","directories":{},"licenseText":"The MIT License (MIT)\n\nCopyright (c) 2015 Chris Bateman\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","dependencies":{"d3":"^3.5.6","react":"^17.0.1","mkdirp":"^0.5.1","react-dom":"^17.0.1","prop-types":"^15.7.2"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.3","eslint":"^7.14.0","webpack":"^5.9.0","prettier":"^2.2.1","@babel/cli":"^7.12.8","css-loader":"^5.0.1","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","style-loader":"^2.0.0","webpack-merge":"^5.4.0","@babel/preset-env":"^7.12.7","webpack-dev-server":"^3.11.0","@babel/preset-react":"^7.12.7","eslint-plugin-react":"^7.21.5","html-webpack-plugin":"^4.5.0","@babel/eslint-parser":"^7.12.1","clean-webpack-plugin":"^3.0.0","eslint-webpack-plugin":"^2.4.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","mini-css-extract-plugin":"^1.3.1","@babel/plugin-proposal-class-properties":"^7.12.1"},"_npmOperationalInternal":{"tmp":"tmp/webpack-visualizer-plugin2_1.1.0_1697055936771_0.5809352014971665","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"webpack-visualizer-plugin2","version":"1.2.0","keywords":["webpack","statistics","bundle","chunks"],"author":{"url":"http://cbateman.com/","name":"Chris Bateman"},"license":"MIT","_id":"webpack-visualizer-plugin2@1.2.0","maintainers":[{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"}],"contributors":[{"url":"https://github.com/jonamat","name":"Jonathan Mataloni","email":"jo.mataloni@gmail.com"}],"homepage":"https://github.com/jonamat/webpack-visualizer#readme","bugs":{"url":"https://github.com/jonamat/webpack-visualizer/issues"},"dist":{"shasum":"d323ce34a81d9f6c0617aa796d8f6f1feb9cb60a","tarball":"https://registry.npmjs.org/webpack-visualizer-plugin2/-/webpack-visualizer-plugin2-1.2.0.tgz","fileCount":7,"integrity":"sha512-Lhykog3Wr8OnusslBwKB6Uhgq6QFxjjwooN89Rfk7GgmC5qqaJ6lAnr+Wiuj3+2UwPNKttiRrvikG3WEbbRwWw==","signatures":[{"sig":"MEUCIBbr/gCxmku+2dDs0jycp4RVQHo0bwY6UGwkskmq9R9EAiEA6VCQH0uZmxNI55hK00Mws8moQCmh3sMu4qdQldGHA80=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":473123},"main":"lib/plugin.js","engines":{"npm":">=5.0.0"},"gitHead":"1080dc3713144c8e9578ddfea075ce04a0735185","scripts":{"lint":"eslint src --ext .js,.jsx","build":"npm run build:site && npm run build:plugin","lint:fix":"eslint src --fix --ext .js,.jsx","build:site":"webpack --config ./webpack/site/webpack.prod.js","preversion":"npm run build","start:site":"webpack serve --config ./webpack/site/webpack.dev.js","publishSite":"git checkout gh-pages && cp dist-site/* . && git add . && git commit -m 'release' && git push origin gh-pages && git checkout master","build:plugin":"shx rm -rf ./lib/** && webpack --config ./webpack/plugin/webpack.prod.js && babel ./src/plugin/plugin.js --out-file lib/plugin.js --presets=@babel/preset-env","start:plugin":"webpack serve --config ./webpack/plugin/webpack.dev.js"},"_npmUser":{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"},"repository":{"url":"git+https://github.com/jonamat/webpack-visualizer.git","type":"git"},"_npmVersion":"10.5.0","description":"Generate webpack bundle chart","directories":{},"_nodeVersion":"18.20.2","dependencies":{"d3":"^3.5.6","react":"^17.0.1","mkdirp":"^0.5.1","react-dom":"^17.0.1","prop-types":"^15.7.2"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.3","eslint":"^7.14.0","webpack":"^5.9.0","prettier":"^2.2.1","@babel/cli":"^7.12.8","css-loader":"^5.0.1","@babel/core":"^7.12.9","webpack-cli":"^4.2.0","babel-loader":"^8.2.2","style-loader":"^2.0.0","webpack-merge":"^5.4.0","@babel/preset-env":"^7.12.7","webpack-dev-server":"^3.11.0","@babel/preset-react":"^7.12.7","eslint-plugin-react":"^7.21.5","html-webpack-plugin":"^4.5.0","@babel/eslint-parser":"^7.12.1","clean-webpack-plugin":"^3.0.0","eslint-webpack-plugin":"^2.4.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","mini-css-extract-plugin":"^1.3.1","@babel/plugin-proposal-class-properties":"^7.12.1"},"_npmOperationalInternal":{"tmp":"tmp/webpack-visualizer-plugin2_1.2.0_1738249287429_0.040477831876045256","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"webpack-visualizer-plugin2","description":"Generate webpack bundle chart","version":"2.0.0","main":"lib/plugin.js","author":{"name":"Chris Bateman","url":"http://cbateman.com/"},"contributors":[{"name":"Jonathan Mataloni","email":"jo.mataloni@gmail.com","url":"https://github.com/jonamat"},{"name":"agnoStack Dev","email":"developers@agnostack.com","url":"https://agnostack.com"}],"keywords":["webpack","statistics","bundle","chunks"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jonamat/webpack-visualizer.git"},"scripts":{"build":"npm run build:site && npm run build:plugin","build:plugin":"shx rm -rf ./lib/** && webpack --config ./webpack/plugin/webpack.prod.js && babel ./src/plugin/plugin.js --out-file lib/plugin.js --presets=@babel/preset-env","build:site":"webpack --config ./webpack/site/webpack.prod.js","build:stats":"webpack --config ./webpack/plugin/webpack.prod.js --json > demo_stats/stats-demo.json","start:plugin":"webpack serve --config ./webpack/plugin/webpack.dev.js","start:site":"webpack serve --config ./webpack/site/webpack.dev.js","lint":"eslint src --ext .js,.jsx","lint:fix":"eslint src --fix --ext .js,.jsx","preversion":"npm run build","publishSite":"git checkout gh-pages && cp dist-site/* . && git add . && git commit -m 'release' && git push origin gh-pages && git checkout master"},"dependencies":{"d3":"^3.5.6","mkdirp":"^0.5.1","prop-types":"^15.7.2","react":"^18.0.0","react-dom":"^18.0.0"},"devDependencies":{"@babel/cli":"^7.12.8","@babel/core":"^7.12.9","@babel/eslint-parser":"^7.12.1","@babel/plugin-proposal-class-properties":"^7.12.1","@babel/preset-env":"^7.12.7","@babel/preset-react":"^7.12.7","babel-loader":"^8.2.2","clean-webpack-plugin":"^3.0.0","css-loader":"^5.0.1","eslint":"^7.14.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","eslint-plugin-react":"^7.21.5","eslint-webpack-plugin":"^2.4.0","html-webpack-plugin":"^4.5.0","mini-css-extract-plugin":"^1.3.1","prettier":"^2.2.1","shx":"^0.3.3","style-loader":"^2.0.0","webpack":"^5.9.0","webpack-cli":"^4.2.0","webpack-dev-server":"^3.11.0","webpack-merge":"^5.4.0"},"engines":{"npm":">=5.0.0"},"_id":"webpack-visualizer-plugin2@2.0.0","gitHead":"6a14519c4e294ef290ff283b984cf47d94dbcf12","bugs":{"url":"https://github.com/jonamat/webpack-visualizer/issues"},"homepage":"https://github.com/jonamat/webpack-visualizer#readme","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-kvlbGAEahg8V00g7SPgggF0ewn7FOsh+b33amp0w9XApAJaz4MBbaIH6Wzqo2Fd3wSW7uhwvPcRTsAuMMcqJKQ==","shasum":"e84dcf5d88479cc62bcd97f7884f2153300d9cc7","tarball":"https://registry.npmjs.org/webpack-visualizer-plugin2/-/webpack-visualizer-plugin2-2.0.0.tgz","fileCount":7,"unpackedSize":473441,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDaMwDwKE470Hdd3VfuRqG7/TRoc19FB8Luwpe/VIcjggIgFbQKo5S0gBktMOSgK9Ifu1GbRlokDCm085TEaUsMZHI="}]},"_npmUser":{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"},"directories":{},"maintainers":[{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webpack-visualizer-plugin2_2.0.0_1752774635782_0.6231008664604729"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-30T00:28:15.412Z","modified":"2025-07-17T17:50:36.194Z","1.0.0":"2020-11-30T00:28:15.608Z","1.1.0":"2023-10-11T20:25:37.074Z","1.2.0":"2025-01-30T15:01:27.686Z","2.0.0":"2025-07-17T17:50:35.995Z"},"bugs":{"url":"https://github.com/jonamat/webpack-visualizer/issues"},"author":{"name":"Chris Bateman","url":"http://cbateman.com/"},"license":"MIT","homepage":"https://github.com/jonamat/webpack-visualizer#readme","keywords":["webpack","statistics","bundle","chunks"],"repository":{"type":"git","url":"git+https://github.com/jonamat/webpack-visualizer.git"},"description":"Generate webpack bundle chart","contributors":[{"name":"Jonathan Mataloni","email":"jo.mataloni@gmail.com","url":"https://github.com/jonamat"},{"name":"agnoStack Dev","email":"developers@agnostack.com","url":"https://agnostack.com"}],"maintainers":[{"name":"jonathanmataloni","email":"jo.mataloni@gmail.com"}],"readme":"# Webpack Visualizer 2\n\nThis is a working fork of the unmaintained [webpack-visualizer-plugin](https://github.com/chrisbateman/webpack-visualizer)\n\nIt works with webpack 5.x\n\n## Installation\n\n```\nnpm i -D webpack-visualizer-plugin2\n```\n\n## Usage in webpack configuration\nThis will generate the statistics page in /stats/ folder\nNOTE: \"filename\" points to the webpack output path, not the project root path\n\n```js\nconst Visualizer = require('webpack-visualizer-plugin2');\n\nmodule.exports = {\n    plugins: [\n        new Visualizer(\n        {\n            filename: path.join('..', 'stats', 'statistics.html'),\n            throwOnError: true,\n        },\n        {\n            chunkModules: true\n        }),\n    ],\n}\n\n```\n\n![](https://cloud.githubusercontent.com/assets/1145857/10471320/5b284d60-71da-11e5-8d35-7d1d4c58843a.png)\n","readmeFilename":"README.md"}