webpack-contrib / svg-inline-loader

Inline SVG loader with cleaning-up functionality

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README instructions for loader

fiznool opened this issue · comments

Is there a reason that the README specifies the following instructions? I couldn't get it to work without appending -loader to the svg-inline key.

    {
        test: /\.svg$/,
        loader: 'svg-inline'
    }

It is just because I haven't used Webpack 2, appending -loader is a must in Webpack 2. It should be fixed 😃