1.0.0 • Published 5 years ago
gridsome-plugin-bundle-analyzer v1.0.0
Gridsome Bundle Analyzer
Analyses your Gridsome bundle using Webpack Bundle Analyzer.

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
1.0.0
5 years ago