Remove exclusion of font-awesome assets (#1172)

Excluding font awesome assets causes error due to webpack not knowing how to read the files.
This commit is contained in:
Kenneth Ashley 2018-02-28 23:58:35 -05:00 committed by Daniel Ternyak
parent 23546a1cf9
commit 3953af5f03
1 changed files with 0 additions and 3 deletions

View File

@ -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'
});