Using the latest version of extract-text-webpack-plugin

This resolves an issue where this plugin doesn't work at all.
This commit is contained in:
Manuel Friedli 2017-03-14 15:45:31 +01:00
parent be51aab2ee
commit 3938254b36
2 changed files with 9 additions and 9 deletions

View file

@ -36,14 +36,14 @@ module.exports = {
test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)$/,
use: 'file-loader?name=assets/[name].[hash].[ext]'
},
// {
// test: /\.css$/,
// exclude: helpers.root('src', 'app'),
// use: ExtractTextPlugin.extract({
// fallback: 'style-loader',
// use: 'css-loader?sourceMap'
// })
// },
{
test: /\.css$/,
exclude: helpers.root('src', 'app'),
use: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader?sourceMap'
})
},
{
test: /\.css$/,
include: helpers.root('src', 'app'),