Update font configuration
Fixes #63, See https://webpack.js.org/loaders/file-loader/#publicpath
This commit is contained in:
parent
6120b26a44
commit
a7b4271a7d
1 changed files with 3 additions and 2 deletions
|
|
@ -26,8 +26,9 @@ export default {
|
|||
use: {
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: 'fonts/[name].[ext]',
|
||||
publicPath: '../',
|
||||
name: '[name].[ext]',
|
||||
outputPath: 'fonts',
|
||||
publicPath: '/static/fonts/',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue