Bring back extract text webpack plugin
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
/* eslint-disable */
|
||||
var webpack = require('webpack');
|
||||
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
var ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
|
||||
const commonWebpackConfig = require('./webpack.config');
|
||||
|
||||
@ -18,6 +19,7 @@ const developmentWebpackConfig = Object.assign(commonWebpackConfig, {
|
||||
developmentWebpackConfig.plugins.push(
|
||||
new webpack.optimize.OccurenceOrderPlugin()
|
||||
);
|
||||
developmentWebpackConfig.plugins.push(new ExtractTextPlugin('styles.css'));
|
||||
developmentWebpackConfig.plugins.push(new webpack.HotModuleReplacementPlugin());
|
||||
developmentWebpackConfig.plugins.push(new webpack.NoErrorsPlugin());
|
||||
developmentWebpackConfig.plugins.push(
|
||||
|
Reference in New Issue
Block a user