webpack-report

2.0.3 • Public • Published

Webpack Build Analysis Plugin

License: MIT NPM Download NPM

Installation

  • Download and install npm package
#NPM
npm install webpack-report

#YARN
yarn add webpack-report

Usage

const WebpackReport = require('webpack-report');

module.exports = {
  plugins: [
    new WebpackReport()
  ]
}

Features

  • describe your project informations like dependency, dev-dependency etc.
  • show webpack build informations like warnings, error, build time etc.
  • detailed Assets, Modules and chunks informations with interactive graphs.

Screenshots

Options

  new WebpackReport(options)
Name Type Default Description
host string localhost webpack-report server host name
port number 1237 webpack-report server run at this port
open boolean true open report in default browser
statsOptions object options passed in stats.toJson() method.
packageJsonPath string project package.json custom file path

Contribute

  • clone repository

  • install dependency

  npm install
  • go to example folder and install dependency too
  npm install
  • start the dev server using
  npm start

dev server will start

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i webpack-report

Weekly Downloads

148

Version

2.0.3

License

MIT

Unpacked Size

2.9 MB

Total Files

19

Last publish

Collaborators

  • pateldeep