Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
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

👉 See full documentation

License

MIT

© 2023 Gatsby, Inc.