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!

贡献者指南