| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This package contains a plugin for using webpack-bundle-analyzer with Razzle
yarn add razzle-plugin-bundle-analyzer
Using the plugin with the default options
// razzle.config.js
module.exports = {
plugins: ['bundle-analyzer'],
};// razzle.config.js
module.exports = {
plugins: [
{
name: 'bundle-analyzer',
options: {
target: 'web', // or 'node'
env: 'production', // or 'development'
bundleAnalyzerConfig: {},
},
},
],
};target: string (defaults: 'web')
env: string (defaults: 'production')
bundleAnalyzerConfig: bundleAnalyzerOptions (defaults: {})
Use this to override webpack-bundle-analyzer options. Check all the options here: webpack-bundle-analyzer options.
| Back | FazBrowse Home | New Git URL |