remixz/run-js

Add support for stylesheets

Open

#4 opened on 2015年12月31日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)JavaScript (8 forks)github user discovery
enhancementhelp wantedstarter

Repository metrics

Stars
 (188 stars)
PR merge metrics
 (PR metrics pending)

説明

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!

コントリビューターガイド