1.0.5 • Published 6 years ago
gatsby-plugin-webpack-bundle-analyzer v1.0.5
gatsby-plugin-webpack-bundle-analyzer
A Gatsby plugin to help analyze your bundle content with webpack-bundle-analyzer.
Install
With Yarn:
yarn add gatsby-plugin-webpack-bundle-analyzerOr with npm:
npm install --save gatsby-plugin-webpack-bundle-analyzerUsage
// In your gatsby-config.js
plugins: [
'gatsby-plugin-webpack-bundle-analyzer',
]Options
See original plugin for a list of available options.
Additional options:
production: Run the analyzer on a production build. Defaults tofalsedisable: Set to true to toggle off the analyzer. Defaults tofalse
plugins: [
{
resolve: 'gatsby-plugin-webpack-bundle-analyzer',
options: {
analyzerPort: 3000,
production: true,
},
},
]