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: {
|
use: {
|
||||||
loader: 'file-loader',
|
loader: 'file-loader',
|
||||||
options: {
|
options: {
|
||||||
name: 'fonts/[name].[ext]',
|
name: '[name].[ext]',
|
||||||
publicPath: '../',
|
outputPath: 'fonts',
|
||||||
|
publicPath: '/static/fonts/',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue