Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Developmint/nuxt-bundle-buddy
Don't fight your webpack bundle, become friends!
https://github.com/Developmint/nuxt-bundle-buddy
Last synced: 4 months ago
JSON representation
Don't fight your webpack bundle, become friends!
- Host: GitHub
- URL: https://github.com/Developmint/nuxt-bundle-buddy
- Owner: Developmint
- License: mit
- Created: 2018-11-02T22:43:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T07:47:15.000Z (4 months ago)
- Last Synced: 2024-10-27T23:55:26.430Z (4 months ago)
- Language: JavaScript
- Size: 171 KB
- Stars: 38
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt Bundle Buddy - Don't fight your webpack bundle, become friends!
[](https://npmjs.com/package/nuxt-bundle-buddy)
[](https://npmjs.com/package/nuxt-bundle-buddy)
[](https://travis-ci.com/Developmint/nuxt-bundle-buddy)
[](https://codecov.io/gh/Developmint/nuxt-bundle-buddy)
[](https://david-dm.org/Developmint/nuxt-bundle-buddy)
[](http://standardjs.com)
[](https://thanks.lichter.io/)
[📖 **Release Notes**](./CHANGELOG.md)
## Features
* Analyzes your bundle and visualize improvement opportunities
* Built on top of [bundle-buddy](https://github.com/samccone/bundle-buddy)
* Fully tested!
* Nuxt 2 support## Setup
- Install [`bundle-buddy`](https://github.com/samccone/bundle-buddy) globally,
**otherwise you won't see anything**
- Add the `nuxt-bundle-buddy` dependency using yarn or npm to your project
- Add `nuxt-bundle-buddy` to `modules` section of `nuxt.config.js`:```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 --analyze` or `npm run build -- --analyze`)
## Options
```js
// file: nuxt.config.js
export default {
bundleBuddy: {
removeDefaultAnalyzer: true // disable to keep default webpack analyzer
}
}
```## Development
- Clone this repository
- Install dependencies using `yarn install` or `npm install`
- Start development server using `npm run dev`## License
[MIT License](./LICENSE)
Copyright (c) Alexander Lichter