Socket
Socket
Sign inDemoInstall

webpack-bundle-report

Package Overview
Dependencies
209
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-bundle-report

Reporting tool to analyse Webpack bundles


Version published
Weekly downloads
0
Maintainers
1
Install size
10.3 MB
Created
Weekly downloads
 

Readme

Source

webpack-bundle-report

Reporting tool to analyse Webpack bundles

Installation:

npm i -g webpack-bundle-report

Usage from JS:

var webpackBundleReport = require('webpack-bundle-report'),
    webpackConfigurationPath = path.resolve('webpack.config.js'),
    webpackConfiguration = require(webpackConfigurationPath);

webpackBundleReport(webpackConfiguration, function (error, report) {
    if (error) {
        throw new Error(error);
    }

    console.log(report);
});

Usage from CLI:

wbr webpack.config.js > report.txt

wbr [--stats|-s] stats.json > report.txt

Keywords

FAQs

Last updated on 14 Jul 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc