function cssSvgLoader() {
  return (context, { addLoader }) =>
    addLoader({
      // This needs to be different form the reactSvgLoader, otherwise it will merge
      test: /(.*)\.svg$/,
      issuer: {
        test: /\.css$/,
      },
      loader: 'url-loader',
      options: {
        limit: 10000,
        name: fileNameTemplate,
      },
    })
}
function cssSvgLoader() {
  return (context, { addLoader }) =>
    addLoader({
      // This needs to be different form the reactSvgLoader, otherwise it will merge
      test: /(.*)\.svg$/,
      issuer: {
        test: /\.css$/,
      },
      loader: 'url-loader',
      options: {
        limit: 10000,
        name: fileNameTemplate,
      },
    })
}
function cssSvgLoader ( ) { return ( context , { addLoader } ) => addLoader ( { // This needs to be different form the reactSvgLoader, otherwise it will merge test : / (.*)\.svg$ / , issuer : { test : / \.css$ / , } , loader : 'url-loader' , options : { limit : 10000 , name : fileNameTemplate , } , } ) }
Url-loader for svgs in css
Url - loader for svgs in css