From 2308d06f741cd821be66c9b6c5fd7a74e6251f8f Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Wed, 6 May 2020 17:51:09 -0400 Subject: [PATCH] Fix production webpack build broken by #1420 --- webpack/config.prod.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack/config.prod.js b/webpack/config.prod.js index 903e28d7..60664014 100644 --- a/webpack/config.prod.js +++ b/webpack/config.prod.js @@ -91,7 +91,11 @@ module.exports = [{ } }, { - test: /fonts\/.*\.(mp3|eot|ttf|woff|woff2)$/, + test: /\.mp3$/, + use: 'file-loader' + }, + { + test: /fonts\/.*\.(eot|ttf|woff|woff2)$/, use: 'file-loader' }, {