1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 01:57:02 +00:00

ui: Ouput web fonts to dist/static/

This commit is contained in:
James Hillyerd
2018-12-27 10:15:09 -08:00
parent 4b9e432730
commit 1922dc145d

View File

@@ -42,7 +42,10 @@ module.exports = (env, argv) => {
{ {
include: [/\/node_modules\/@fortawesome\/fontawesome-free\/webfonts/], include: [/\/node_modules\/@fortawesome\/fontawesome-free\/webfonts/],
test: /\.(eot|svg|ttf|woff|woff2)$/, test: /\.(eot|svg|ttf|woff|woff2)$/,
loader: ['file-loader'], loader: 'file-loader',
options: {
name: 'static/[name].[hash:8].[ext]',
},
}, },
] ]
}, },