codefeathers / rollup-plugin-svelte-svg

Import SVG files as Svelte Components
MIT License
75 stars 13 forks source link

(plugin svg) Error: options.name must be a valid identifier (got 'map-pin') #9

Closed ansarizafar closed 4 years ago

ansarizafar commented 4 years ago

I am unable to import an svg file with a hyphen in file name. I am try to import this file https://github.com/tabler/tabler-icons/blob/master/icons/map-pin.svg

MKRhere commented 4 years ago

Fixed in 4fc8d4bc02aab87d95c03c88dd4ef4ec2380150a / npm version 0.2.3