add fonts to prod webpack
This commit is contained in:
parent
a265d622dc
commit
d3d36cdf2b
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ module.exports = {
|
|||
{
|
||||
test: /\.(svg|mp3)$/,
|
||||
loader: 'file'
|
||||
},
|
||||
{
|
||||
test: /fonts\/.*\.(eot|svg|ttf|woff|woff2)$/,
|
||||
loader: 'file'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue