Fix includes and excludes.

This commit is contained in:
Alexis Lahouze 2018-06-09 23:51:46 +02:00
parent 156d5099d5
commit 247ece861e
1 changed files with 3 additions and 2 deletions

View File

@ -75,6 +75,7 @@ module.exports = {
]
}, {
test: /\.html$/,
include: helpers.root('src'),
loader: 'html-loader'
}, {
test: /\.less$/,
@ -85,14 +86,14 @@ module.exports = {
]
}, {
test: /\.css$/,
exclude: helpers.root('src', 'app'),
exclude: helpers.root('src'),
loader: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader?sourceMap'
})
}, {
test: /\.css$/,
include: helpers.root('src', 'app'),
include: helpers.root('src'),
loader: 'raw-loader'
}, {
test: /\.scss$/,