uskov-anton / mixer-webpack-plugin

Mixer plugin for Webpack 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Mixer plugin for Webpack 2

License:MIT License


Languages

Language:JavaScript 100.0%