- Analyzes your bundle and visualize improvement opportunities
- Built on top of bundle-buddy
- Fully tested!
- Nuxt 2 support
- Install
bundle-buddyglobally, otherwise you won't see anything - Add the
nuxt-bundle-buddydependency using yarn or npm to your project - Add
nuxt-bundle-buddytomodulessection ofnuxt.config.js:
{
modules: [
'nuxt-bundle-buddy',
],
bundleBuddy: {
// your settings here
// Usually you don't need any though, so you can fully omit the
// bundleBuddy object
}
}- Run a Nuxt analyze build (
yarn build --analyzeornpm run build -- --analyze)
// file: nuxt.config.js
export default {
bundleBuddy: {
removeDefaultAnalyzer: true // disable to keep default webpack analyzer
}
}- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
Copyright (c) Alexander Lichter
