react-redux-universal-hot-example icon indicating copy to clipboard operation
react-redux-universal-hot-example copied to clipboard

Why separate svg extension in webpack-isomorphic-tools config?

Open gsccheng opened this issue 8 years ago • 0 comments

In the config, you can see that svg is configured separately in the assets:

svg: {
    extension: 'svg',
    parser: WebpackIsomorphicToolsPlugin.url_loader_parser
 },

Why is that? When I added it to the images extensions, the app still seemed to load fine:

assets: {
    images: {
      extensions: [
        'jpeg',
        'jpg',
        'png',
        'svg',
        'gif'
      ],
      parser: WebpackIsomorphicToolsPlugin.url_loader_parser

gsccheng avatar Feb 17 '17 20:02 gsccheng