Community Plugin
View plugin on GitHub@bundle-analyzer/gatsby-plugin
Official Gatsby plugin for with Bundle Analyzer service.
Install
npm install --save-dev @bundle-analyzer/gatsby-plugin
Usage
gatsby-config.js
plugins: [
{
resolve: '@bundle-analyzer/gatsby-plugin',
options: { token: '<repository-token>' },
},
]
Options
token
You can specify the token using options or environment variable BUNDLE_ANALYZER_TOKEN
.
configFile
You can specify a custom configuration file.
Complete documentation
License
MIT