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:
parent
be51aab2ee
commit
3938254b36
2 changed files with 9 additions and 9 deletions
|
@ -36,14 +36,14 @@ module.exports = {
|
||||||
test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)$/,
|
test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)$/,
|
||||||
use: 'file-loader?name=assets/[name].[hash].[ext]'
|
use: 'file-loader?name=assets/[name].[hash].[ext]'
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// test: /\.css$/,
|
test: /\.css$/,
|
||||||
// exclude: helpers.root('src', 'app'),
|
exclude: helpers.root('src', 'app'),
|
||||||
// use: ExtractTextPlugin.extract({
|
use: ExtractTextPlugin.extract({
|
||||||
// fallback: 'style-loader',
|
fallback: 'style-loader',
|
||||||
// use: 'css-loader?sourceMap'
|
use: 'css-loader?sourceMap'
|
||||||
// })
|
})
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
include: helpers.root('src', 'app'),
|
include: helpers.root('src', 'app'),
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
"angular2-template-loader": "^0.6.0",
|
"angular2-template-loader": "^0.6.0",
|
||||||
"awesome-typescript-loader": "^3.0.4",
|
"awesome-typescript-loader": "^3.0.4",
|
||||||
"css-loader": "^0.26.1",
|
"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",
|
"file-loader": "^0.9.0",
|
||||||
"html-loader": "^0.4.3",
|
"html-loader": "^0.4.3",
|
||||||
"html-webpack-plugin": "^2.16.1",
|
"html-webpack-plugin": "^2.16.1",
|
||||||
|
|
Loading…
Reference in a new issue