Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uskov-anton/mixer-webpack-plugin

Mixer plugin for Webpack 2
https://github.com/uskov-anton/mixer-webpack-plugin

css-loader css-modules extract-text-webpack-plugin html-webpack-plugin mixer-webpack-plugin pug pug-loader webpack webpack2

Last synced: about 9 hours ago
JSON representation

Mixer plugin for Webpack 2

Awesome Lists containing this project

README

        

# Mixer Webpack Plugin

[![npm](https://img.shields.io/npm/v/npm.svg)](https://www.npmjs.com/package/mixer-webpack-plugin)
[![node](https://img.shields.io/node/v/gh-badges.svg)](https://nodejs.org/)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)

## Installation

```bash
$ npm install mixer-webpack-plugin --save-dev
```

## Usage

```js
import MixerPlugin from 'mixer-webpack-plugin';
import HtmlPlugin from 'html-webpack-plugin';
import ExtractTextPlugin from 'extract-text-webpack-plugin';

export default {
// ...
plugins: [
MixerPlugin(
new HtmlPlugin({ /* options */ }), // target
new ExtractTextPlugin({ /* options */ }), // mixin
// other mixins...
),
// ...
]
};
```

[Full example](https://github.com/uskov-anton/mixer-webpack-plugin-example)

## Limitations
- Webpack 2

## License

This project is licensed under [MIT](LICENSE).