webpack-build-analytic
v0.0.1
Published
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.
Downloads
1
Readme
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.
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
- Adi Aswara (https://github.com/aswara)
License
This project is licensed under the MIT License - see the LICENSE file for details