Fix loading of header logo svg.

This commit is contained in:
Douglas Hall
2019-03-25 11:47:59 -04:00
parent 79707d4a79
commit ab1fcf3261
2 changed files with 6 additions and 0 deletions

View File

@@ -64,6 +64,9 @@ module.exports = Merge.smart(commonConfig, {
issuer: {
test: /\.jsx?$/,
},
exclude: [
path.resolve(__dirname, '../src/assets/logo.svg'),
],
use: ['@svgr/webpack', 'url-loader'],
},
// Webpack, by default, uses the url-loader for images and fonts that are required/included by

View File

@@ -67,6 +67,9 @@ module.exports = Merge.smart(commonConfig, {
issuer: {
test: /\.jsx?$/,
},
exclude: [
path.resolve(__dirname, '../src/assets/logo.svg'),
],
use: ['@svgr/webpack', 'url-loader'],
},
// Webpack, by default, uses the url-loader for images and fonts that are required/included by