This Webpack loader inlines SVG as module. If you use Adobe suite or Sketch to export SVGs, you will get auto-generated, unneeded crusts. This loader removes it for you, too.
Install
npm install svg-inline-loader --save-dev
Configuration
Simply add configuration object to module.loaders like this.
{ test: /\.svg$/, loader: 'svg-inline-loader' }
warning: You should configure this loader only once via module.loaders or require('!...'). See #15 for detail.
Query Options
removeTags: boolean
Removes specified tags and its children. You can specify tags by setting removingTags query array.
default: removeTags: false
removingTags: [...string]
warning: this won't work unless you specify removeTags: true