add fonts to prod webpack

This commit is contained in:
catarak 2016-08-19 13:13:17 -04:00
parent a265d622dc
commit d3d36cdf2b

View file

@ -39,6 +39,10 @@ module.exports = {
{ {
test: /\.(svg|mp3)$/, test: /\.(svg|mp3)$/,
loader: 'file' loader: 'file'
},
{
test: /fonts\/.*\.(eot|svg|ttf|woff|woff2)$/,
loader: 'file'
} }
] ]
}, },