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)$/,
|
||||
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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue