Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 916 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 916 Bytes

Mixer Webpack Plugin

npm node license

Installation

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

Usage

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

Limitations

  • Webpack 2

License

This project is licensed under MIT.