Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thelarkinn/bundle-buddy-webpack-plugin
ππππ bundle-buddy-webpack-plugin ππππ
https://github.com/thelarkinn/bundle-buddy-webpack-plugin
bundle-buddy code-splitting javascript performance webpack webpack-plugin website
Last synced: 2 days ago
JSON representation
ππππ bundle-buddy-webpack-plugin ππππ
- Host: GitHub
- URL: https://github.com/thelarkinn/bundle-buddy-webpack-plugin
- Owner: TheLarkInn
- License: mit
- Created: 2017-07-12T16:16:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-10-21T02:06:02.000Z (about 3 years ago)
- Last Synced: 2024-10-28T18:53:32.692Z (16 days ago)
- Topics: bundle-buddy, code-splitting, javascript, performance, webpack, webpack-plugin, website
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 195
- Watchers: 4
- Forks: 15
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# bundle-buddy-webpack-plugin
[![npm](https://badge.fury.io/js/bundle-buddy-webpack-plugin.svg)](https://badge.fury.io/js/bundle-buddy-webpack-plugin)
[![dependencies](https://david-dm.org/TheLarkInn/bundle-buddy-webpack-plugin.svg)](https://david-dm.org/thelarkinn/bundle-buddy-webpack-plugin)
[![devDependencies Status](https://david-dm.org/thelarkinn/bundle-buddy-webpack-plugin/dev-status.svg)](https://david-dm.org/thelarkinn/bundle-buddy-webpack-plugin?type=dev)Your favorite [bundle-buddy](https://github.com/samccone/bundle-buddy) duplication analyzer, made as a webpack plugin.
## Installation
### Yarn
```bash
yarn add bundle-buddy-webpack-plugin --dev
```### npm
```bash
npm install bundle-buddy-webpack-plugin --save-dev
```## Usage
Just require the plugin into your webpack configuration, and pass it to the `plugins` array.**webpack.config.js**
```javascript
const BundleBuddyWebpackPlugin = require("bundle-buddy-webpack-plugin");module.exports = {
// ...
plugins: [
new BundleBuddyWebpackPlugin({sam: true})
]};
```Options
| Property | Type | Default |Β Description |
| --- | --- | --- | --- |
| warnings | boolean | true | Show/Hide warnings. BundleBuddyWebpackPlugin will emit a warning when you do not have the `devtool` property set in your configuration. And will notify you that it is setting it to "source-map". |## Bugs
If you believe there is an issue with the plugin itself, by all mean submit an issue!!! However this directly uses [bundle-buddy](https://github.com/samccone/bundle-buddy) and I would also verify that it is not an issue reported there first.