Add support for .css and .scss

This commit is contained in:
Michael Wolf
2020-07-05 16:24:18 -05:00
parent 2183ca480b
commit 2e2508c4c6
3 changed files with 10 additions and 2 deletions

View File

@@ -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