https://github.com/krmax44/gridsome-plugin-bundle-analyzer
Analyses your Gridsome bundle using Webpack Bundle Analyzer
https://github.com/krmax44/gridsome-plugin-bundle-analyzer
Last synced: 7 days ago
JSON representation
Analyses your Gridsome bundle using Webpack Bundle Analyzer
- Host: GitHub
- URL: https://github.com/krmax44/gridsome-plugin-bundle-analyzer
- Owner: krmax44
- License: mit
- Created: 2020-06-21T11:15:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-21T11:19:49.000Z (almost 6 years ago)
- Last Synced: 2025-02-25T23:42:22.977Z (over 1 year ago)
- Language: JavaScript
- Size: 86.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gridsome Bundle Analyzer
[](https://www.npmjs.com/package/gridsome-plugin-bundle-analyzer)
Analyses your Gridsome bundle using [Webpack Bundle Analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer).

## Usage
```bash
yarn add -D gridsome-plugin-bundle-analyzer
```
```js
// 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