Skip to content

Commit

Permalink
Adds MIME type for SCSS files
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethormandy committed Oct 19, 2013
1 parent b57182b commit 66ca961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ exports.mimeType = function(source){

if(['.jade', '.md', '.ejs'].indexOf(ext) !== -1){
return mime.lookup('html')
}else if(['.less', '.styl'].indexOf(ext) !== -1){
}else if(['.less', '.styl', '.scss'].indexOf(ext) !== -1){
return mime.lookup('css')
}else{
return mime.lookup(source)
Expand Down

1 comment on commit 66ca961

@kennethormandy
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sintaxi Sorry, I didn’t realise this would commit it, I thought it would just open a pull request. It’s for sintaxi/terraform#21.

Please sign in to comment.