0.0.2 • Published 7 years ago
nuxt-bundle-buddy v0.0.2
Nuxt Bundle Buddy - Don't fight your webpack bundle, become friends!

Features
- Analyzes your bundle and visualize improvement opportunities
- Built on top of bundle-buddy
- Fully tested!
- Nuxt 2 support
Setup
- 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)
Options
// file: nuxt.config.js
export default {
bundleBuddy: {
removeDefaultAnalyzer: true // disable to keep default webpack analyzer
}
}Development
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
Copyright (c) Alexander Lichter