jonkemp / useref

Parse build blocks in HTML files to replace references
MIT License
51 stars 13 forks source link

jade support? #5

Closed frenz1e closed 8 years ago

frenz1e commented 8 years ago

It seems that this may be done quite simple, by just adding jade syntax in condition in refManager.js

<script src=""></script> to script(src="")
<link rel="stylesheet" href=""> to link(rel="stylesheet" href="")

and maybe some option for chose syntax(html/jade)

jonkemp commented 8 years ago

This is a fork (and I don't use Jade so I'm not sure) but there is a test for Jade support and it passes.

https://github.com/jonkemp/useref/blob/master/test/test.js#L223