From 357a646fde18cd9562e7388bed43b5ed53cea3f4 Mon Sep 17 00:00:00 2001 From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> Date: Wed, 2 Feb 2022 09:11:09 -0600 Subject: [PATCH] [bug] Update gulp and webpack to include new font sheet (#2305) --- gulpfile.js | 5 +++-- webpack.config.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index f664b490f7..2b97ceaf38 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -23,8 +23,9 @@ const filters = { fonts: [ "!build/popup/fonts/*", "build/popup/fonts/Open_Sans*.woff", - "build/popup/fonts/fontawesome*.woff2", - "build/popup/fonts/fontawesome*.woff", + "build/popup/fonts/bwi-font.woff2", + "build/popup/fonts/bwi-font.woff", + "build/popup/fonts/bwi-font.ttf", ], safari: ["!build/safari/**/*"], }; diff --git a/webpack.config.js b/webpack.config.js index 86c180b928..bc4e9945f0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,7 +31,7 @@ const moduleRules = [ }, { test: /\.(jpe?g|png|gif|svg)$/i, - exclude: /.*(fontawesome-webfont|glyphicons-halflings-regular)\.svg/, + exclude: /.*(bwi-font|glyphicons-halflings-regular)\.svg/, generator: { filename: "popup/images/[name][ext]", },