Add support for .css and .scss
This commit is contained in:
@@ -21,6 +21,10 @@ function sniff_file_type () {
|
||||
file_type="jsx"
|
||||
elif [[ $ff == *.tsx ]] ; then
|
||||
file_type="tsx"
|
||||
elif [[ $ff == *.css ]] ; then
|
||||
file_type="css"
|
||||
elif [[ $ff == *.scss ]] ; then
|
||||
file_type="scss"
|
||||
fi
|
||||
|
||||
echo $file_type
|
||||
|
||||
Reference in New Issue
Block a user