gridsome-plugin-bundle-analyzer

1.0.0 • Public • Published

Gridsome Bundle Analyzer

npm version

Analyses your Gridsome bundle using Webpack Bundle Analyzer.

webpack bundle analyzer zoomable treemap

Usage

yarn add -D gridsome-plugin-bundle-analyzer
// gridsome.config.js

module.exports = {
  plugins: ['gridsome-plugin-bundle-analyzer'],
};

// or with options
module.exports = {
  plugins: [
    {
      use: 'gridsome-plugin-bundle-analyzer',
      options: {
        onlyProduction: true, // only production bundle will be analyzed by default
        analyzerOptions: {}, // see https://github.com/webpack-contrib/webpack-bundle-analyzer
      },
    },
  ],
};

TODO

  • sometimes, the plugin is runs twice for some reason

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    483
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    483

Package Sidebar

Install

npm i gridsome-plugin-bundle-analyzer

Weekly Downloads

483

Version

1.0.0

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • krmax44