mrsum / webpack-svgstore-plugin

Simple svg-sprite creating with webpack
https://www.npmjs.com/package/webpack-svgstore-plugin
200 stars 92 forks source link

Specific instantiate options #128

Closed balazswmann closed 6 years ago

balazswmann commented 7 years ago

Is is possible to provide specific instantiate options like class or id attributes for the svg element? Maybe I just don't see my mistake, but the snippet below doesn't work fork for me:

var __svg__ = { path: '...', name: '...', svg: { id: 'myid', class: 'myclass' } };

lgordey commented 6 years ago

Nope