Fix program type logos.

file-loader just providing the file name and underscore printing it's
name instead of content.

LEARNER-4965
This commit is contained in:
Waheed Ahmed
2018-04-13 18:13:06 +05:00
parent 3db89e98ba
commit 544f7faa0d
3 changed files with 21 additions and 1 deletions

View File

@@ -202,8 +202,12 @@ module.exports = {
)
},
{
test: /\.(woff2?|ttf|svg|eot)(\?v=\d+\.\d+\.\d+)?$/,
test: /\.(woff2?|ttf|eot)(\?v=\d+\.\d+\.\d+)?$/,
loader: 'file-loader'
},
{
test: /\.svg$/,
loader: 'svg-inline-loader'
}
]
},