From f50ebf25142f8230b43fb60039bbae5d4523f64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Brugarolas?= Date: Thu, 27 Dec 2018 18:30:17 +0100 Subject: [PATCH] FA font in correct folder --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 0927578..bc2ea48 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -45,6 +45,7 @@ module.exports = (env, args) => { }, { test: /\.(png|jpg|gif|svg)$/, + exclude: /(fa-.+\.svg)$/, /* Font Awesome */ loader: 'file-loader', options: { name: '[name].[ext]?[hash]', @@ -52,7 +53,7 @@ module.exports = (env, args) => { } }, { - test: /\.(woff|woff2|ttf|eot)$/, + test: [ /\.(woff|woff2|ttf|eot)$/, /(fa-.+\.svg)$/ ], loader: 'file-loader', options: { name: '[name].[ext]?[hash]',