gatsby-plugin-bundle-stats
Gatsby plugin for bundle-stats.
Description
In-depth bundle analyzer for webpack(bundle size, assets, modules)
How to install
npm install --dev gatsby-plugin-bundle-stats
or
yarn add --dev gatsby-plugin-bundle-stats
Available options
See bundle-stats available options.
Examples of usage
module.exports = {
plugins: [
'gatsby-plugin-bundle-stats'
]
};
or with custom options
module.exports = {
plugins: [
{
resolve: 'gatsby-plugin-bundle-stats',
options: {
compare: true,
outDir: '../artifacts',
stats: {
context: './src'
}
}
},
]
};