mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
ui: Ouput web fonts to dist/static/
This commit is contained in:
@@ -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]',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user