{"schemaVersion":1,"id":"webpack-bundle-analyzer","name":"webpack Bundle Analyzer","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/webpack-bundle-analyzer/","officialUrl":"https://github.com/webpack-contrib/webpack-bundle-analyzer","isCatalog":false,"description":"Visualizes webpack build contents and packages' contributions to asset size, helping identify heavy dependencies.","tasks":["Find heavy dependencies in a webpack build","Open the module treemap and compare large dependencies' contributions"],"categoryIds":["infrastructure","quality"],"subcategoryIds":["infrastructure.developer","quality.review"],"tags":["webpack Bundle Analyzer","build","Development"],"aliases":["webpack-contrib/webpack-bundle-analyzer","webpack-bundle-analyzer","bundle-analyzer"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Find heavy dependencies in a webpack build","chooseWhen":["Find heavy dependencies in a webpack build","Open the module treemap and compare large dependencies' contributions"],"considerInstead":[],"requirements":["To analyze parsed/gzip sizes, save build files to disk and provide a sufficiently detailed stats.json. analyzerMode: static produces a report without a continuously running server."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","If assets exist only in webpack-dev-server memory or are missing at the specified paths, the analyzer shows only stat. Calculated gzip is the compressed code size, not a measurement of a visitor's network download."],"faq":[{"question":"What can you use for free in webpack Bundle Analyzer?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with webpack Bundle Analyzer?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for webpack Bundle Analyzer?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with webpack Bundle Analyzer?","answer":"Obtain bundle statistics for an actual production build. Open the module treemap and compare large dependencies' contributions. Add the workflow to scripts or CI with a clear report."},{"question":"How do stat, parsed, and gzip differ in the report?","answer":"stat comes from webpack stats and describes the input before transformations; parsed is the output after transformations, including minification; gzip is calculated by compressing the resulting bundles/modules. Compare the same size mode across builds."}],"related":[],"sources":["https://github.com/webpack-contrib/webpack-bundle-analyzer","https://raw.githubusercontent.com/webpack-contrib/webpack-bundle-analyzer/HEAD/README.md","https://raw.githubusercontent.com/webpack-contrib/webpack-bundle-analyzer/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Find heavy dependencies in a webpack build.","inputs":["A repository, package manifests, and configuration.","A compatible runtime and the target build command."],"steps":["Obtain bundle statistics for an actual production build.","Open the module treemap and compare large dependencies' contributions.","Add the workflow to scripts or CI with a clear report."],"checks":["A clean copy of the project reproduces the result.","Errors produce a nonzero exit code and clear diagnostics."]},"sources":["https://github.com/webpack-contrib/webpack-bundle-analyzer","https://raw.githubusercontent.com/webpack-contrib/webpack-bundle-analyzer/HEAD/README.md","https://raw.githubusercontent.com/webpack-contrib/webpack-bundle-analyzer/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Build / code quality tool","kind":"tool","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/webpack-contrib/webpack-bundle-analyzer","label":"Official source"},{"url":"https://raw.githubusercontent.com/webpack-contrib/webpack-bundle-analyzer/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/webpack-contrib/webpack-bundle-analyzer/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}