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'),

View File

@ -36,7 +36,7 @@
"angular2-template-loader": "^0.6.0",
"awesome-typescript-loader": "^3.0.4",
"css-loader": "^0.26.1",
"extract-text-webpack-plugin": "2.0.0-beta.5",
"extract-text-webpack-plugin": "^2.0.0",
"file-loader": "^0.9.0",
"html-loader": "^0.4.3",
"html-webpack-plugin": "^2.16.1",