From c9b910b1c182202e10ce80bcee5b965c50ceed0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 29 Nov 2018 14:32:21 +0100 Subject: [PATCH] feat(dev): don't proxy fonts Use the local ones, this simplifies testing adding icons, for example. --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index b662756c5..2dd375480 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -187,7 +187,8 @@ module.exports = [ * target, undefined; otherwise, the path to the local file to be served. */ function devServerProxyBypass({ path }) { - if (path.startsWith('/css/') || path.startsWith('/doc/')) { + if (path.startsWith('/css/') || path.startsWith('/doc/') + || path.startsWith('/fonts/')) { return path; }