Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @bundle-analyzer/gatsby-plugin with all npm packages installed. Try it out:

var gatsbyPlugin = require("@bundle-analyzer/gatsby-plugin")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@bundle-analyzer/gatsby-plugin v0.5.1

Bundle Analyzer Gatsby plugin.

@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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free