Added jpg files to webpack

This commit is contained in:
Harrison Healey
2016-03-24 16:41:53 -04:00
parent c417fdc152
commit 6fff6a1025

View File

@@ -52,7 +52,7 @@ var config = {
loaders: ['style', 'css']
},
{
test: /\.(png|eot|tiff|svg|woff2|woff|ttf|gif|mp3)$/,
test: /\.(png|eot|tiff|svg|woff2|woff|ttf|gif|mp3|jpg)$/,
loader: 'file',
query: {
name: 'files/[hash].[ext]'