Web Console: Added support for SVG images.
@@ -128,10 +128,15 @@ export default {
loader: 'file?name=assets/fonts/[name].[ext]'
},
{
- test: /.*\.svg$/,
+ test: /^(?:(?!url\.svg$).)*\.svg$/,
include: [contentBase, IgniteModules],
use: ['svg-sprite-loader']
},
+ {
+ test: /.*\.url\.svg$/,
+ include: [contentBase, IgniteModules],
+ loader: 'file?name=assets/fonts/[name].[ext]'
+ },
{
test: /\.(jpe?g|png|gif)$/i,
loader: 'file?name=assets/images/[name].[hash].[ext]'
