Skip to content

uskov-anton/mixer-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.