webpack-build-analytic

0.0.1 • Public • Published

Webpack Build Analytic

Webpack Monitor is a configurable Webpack plugin that captures relevant statistics on your production builds, and an interactive analysis tool that helps developers better understand bundle composition and identify and prioritize optimization strategies.

NPM version Downloads

Usage

Install the webpack monitor plugin on your production config. The plugin will collect stats whenever meaningful changes to bundle composition have occurred. Optionally launch analysis too to see how your bundles have changed over time!

Setup

npm install --save-dev webpack-build-analytic

in webpack.config.js

const WebpackBuildAnalytic = require('webpack-build-analytic');

// ...

plugins: [
  new WebpackBuildAnalytic({
    apiKey: "",
    version: ""
  }),
],
  • apiKey your apiKey project.
  • version version your app.
  • excludeSourceMaps excludes emitted source maps from the build stats.

Contributing

To contribute to webpack-build-analytic, fork the repository and clone it to your machine then install dependencies with npm install. If you're interested in joining the Webpack Build Analytic team as a contributor, feel free to message one of us directly!

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Readme

Keywords

none

Package Sidebar

Install

npm i webpack-build-analytic

Weekly Downloads

2

Version

0.0.1

License

ISC

Unpacked Size

5.63 kB

Total Files

4

Last publish

Collaborators

  • aswara