From 1922dc145db0a834f513eac4199034598aa24804 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Thu, 27 Dec 2018 10:15:09 -0800 Subject: [PATCH] ui: Ouput web fonts to dist/static/ --- ui/webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/webpack.config.js b/ui/webpack.config.js index 26142c2..79b1af4 100644 --- a/ui/webpack.config.js +++ b/ui/webpack.config.js @@ -42,7 +42,10 @@ module.exports = (env, argv) => { { include: [/\/node_modules\/@fortawesome\/fontawesome-free\/webfonts/], test: /\.(eot|svg|ttf|woff|woff2)$/, - loader: ['file-loader'], + loader: 'file-loader', + options: { + name: 'static/[name].[hash:8].[ext]', + }, }, ] },