cancel
Showing results for 
Search instead for 
Did you mean: 

Importing svg icons problem in .scss

Importing svg icons problem in .scss

Hello!

I want to import svg icons of countries using this github project https://github.com/lipis/flag-icon-css The icons format is .svg , whenever I generate css through php command

php shell/cssgen.php 

This is the error shown

error sass/styles.scss (Line 1 of sass/_multi-country2.scss: File to import not found or unreadable: sprites/countries2/*.svg.

I have changed this line in _multi-country2.scss in order to check the origin of the error

@import "sprites/countries/*.svg";

I have changed it to

@import "sprites/countries/*.png";

It compiles successfully so normally the origin of this problem is .svg (extension of files)

Can anyone help me to fix it ? Thanks in advance