Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-size-analyzer

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-size-analyzer

Extension of webpack-bundle-size-analyzer for Gatsby

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
increased by600%
Maintainers
1
Weekly downloads
 
Created
Source

gatsby-plugin-size-analyzer

Extension of webpack-bundle-size-analyzer by Robert Knight for Gatsby

Installation

yarn add gatsby-plugin-size-analyzer

How to use

  1. Include the plugin in your gatsby-config.js file.
  2. gatsby build to find "size-analyzer.txt" inside the project folder.
// in gatsby-config.js
plugins: [
  `gatsby-plugin-size-analyzer`
];

Options

Decide the name and location of your reports folder like so:

// in gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-size-analyzer`,
    options: {
      path: ['myreports/gatsby']
    },
  },
];

⚠️ The folder named "gatsby" needs to exist before you build your project!

Keywords

FAQs

Package last updated on 14 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc