Hopefully make webpack load fonts?

pull/10/head
Matthew Strasiotto 4 years ago
parent 97e76cee0b
commit be7cc94ade

@ -26,6 +26,18 @@ let mainConfig = {
{
test: /\.css$/,
use: ['style-loader', 'css-loader']
},
{
test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
use: [
{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'fonts/'
}
}
]
}
]
},

Loading…
Cancel
Save