remixz/run-js

Add support for stylesheets

Open

#4 建立於 2015年12月31日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (8 fork)github user discovery
enhancementhelp wantedstarter

倉庫指標

Star
 (188 star)
PR 合併指標
 (PR 指標待抓取)

描述

Despite it being named run-js, it would be nice if stylesheets would be automatically added if they exist. As well, support for processors like SASS and LESS would be really nice. Maybe regular CSS could be run through cssnext as well, like how regular JS is run through Babel right now.

There'd have to be a new definition of handlers (probably just add a type attribute to the file, see GH-2), and for those type of handlers, they'd just have a function that returns the compiled CSS. As well, the correct content type would need to be set. Probably wouldn't be too hard to implement, and would provide great value!

貢獻者指南