From 247ece861e2489106f687a77d5ce7a04a46c250e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 9 Jun 2018 23:51:46 +0200 Subject: [PATCH] Fix includes and excludes. --- config/webpack.common.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/webpack.common.js b/config/webpack.common.js index b813f40..5480c40 100644 --- a/config/webpack.common.js +++ b/config/webpack.common.js @@ -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$/,