Fix includes and excludes.

This commit is contained in:
Alexis Lahouze 2018-06-09 23:51:46 +02:00
parent 156d5099d5
commit 247ece861e

View File

@ -75,6 +75,7 @@ module.exports = {
] ]
}, { }, {
test: /\.html$/, test: /\.html$/,
include: helpers.root('src'),
loader: 'html-loader' loader: 'html-loader'
}, { }, {
test: /\.less$/, test: /\.less$/,
@ -85,14 +86,14 @@ module.exports = {
] ]
}, { }, {
test: /\.css$/, test: /\.css$/,
exclude: helpers.root('src', 'app'), exclude: helpers.root('src'),
loader: ExtractTextPlugin.extract({ loader: 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'),
loader: 'raw-loader' loader: 'raw-loader'
}, { }, {
test: /\.scss$/, test: /\.scss$/,