Update font configuration

Fixes #63, See https://webpack.js.org/loaders/file-loader/#publicpath
This commit is contained in:
Sonny Bakker 2020-09-09 20:30:59 +02:00
parent 6120b26a44
commit a7b4271a7d

View file

@ -26,8 +26,9 @@ export default {
use: {
loader: 'file-loader',
options: {
name: 'fonts/[name].[ext]',
publicPath: '../',
name: '[name].[ext]',
outputPath: 'fonts',
publicPath: '/static/fonts/',
},
},
},