$ npm install mixer-webpack-plugin --save-dev
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...
),
// ...
]
};
- Webpack 2
This project is licensed under MIT.