ForbesLindesay / browserify-middleware

express middleware for browserify, done right
http://browserify.org
MIT License
381 stars 66 forks source link

Add a `precompile` option without directory support #44

Closed ForbesLindesay closed 10 years ago

ForbesLindesay commented 10 years ago

All credit should go to @bjoerge for the original code in #33

I decided to remove directory support for the precompile option as I'm still not happy with how that works. At least with this it can still work fine providing you use it on individual files.

bjoerge commented 10 years ago

Sounds good. My original use case for precompiling was for individual files only, but I included the directory option mainly for the sake of completeness. I realise that it was probably complicating things more than it helped. Thanks!