From 3953af5f03aeb9d291e577c1d30e5a4e8e9b5260 Mon Sep 17 00:00:00 2001 From: Kenneth Ashley Date: Wed, 28 Feb 2018 23:58:35 -0500 Subject: [PATCH] Remove exclusion of font-awesome assets (#1172) Excluding font awesome assets causes error due to webpack not knowing how to read the files. --- webpack_config/makeConfig.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/webpack_config/makeConfig.js b/webpack_config/makeConfig.js index c011a8e6..de63fda4 100644 --- a/webpack_config/makeConfig.js +++ b/webpack_config/makeConfig.js @@ -104,7 +104,6 @@ module.exports = function(opts = {}) { .map(dir => path.resolve(config.path.src, dir)) .concat([config.path.modules]), - exclude: /node_modules(?!\/font-awesome)/, use: ['style-loader', 'css-loader', 'sass-loader'] }, { @@ -124,7 +123,6 @@ module.exports = function(opts = {}) { // Images rules.push({ include: [path.resolve(config.path.assets), path.resolve(config.path.modules)], - exclude: /node_modules(?!\/font-awesome)/, test: /\.(gif|png|jpe?g|svg)$/i, use: [ { @@ -159,7 +157,6 @@ module.exports = function(opts = {}) { // Fonts rules.push({ include: [path.resolve(config.path.assets), path.resolve(config.path.modules)], - exclude: /node_modules(?!\/font-awesome)/, test: /\.(ico|eot|otf|webp|ttf|woff|woff2)(\?.*)?$/, loader: 'file-loader' });