Thanks for your response! Feel free to give some criticism/suggestions/issues. Any response is highly appreciated. :))
We have prepared a Server middleware as well, which can be used as a standalone server or used as connect middleware. See `examples/server.js` for details. On Thu, May 17, 2012 at 11:19 AM, Martin Wawrusch <[email protected]> wrote: > This looks awesome and probably solves my snockets / connect-assets > problems. Thanks a ton. I'll provide some feedback over the weekend. > > Cheers > Martin > > > On Thu, May 17, 2012 at 2:16 AM, ixti <[email protected]> wrote: >> >> Hello everybody, >> >> Yesterday we have finished Mincer [1] - 100% native JavaScript >> port of the Sprockets. For those who not familiar, it's an awesome >> web assets processor, that allows you to write JS and CSS assets >> in almost any language you like (CoffeeScript, LESS, Stylus) more >> than that it allows you to "require" assets into each other, regardless >> to the language with help of special directives: >> >> ``` stylus >> //= require bootstrap.less >> >> h1 >> color red >> ``` >> >> It's a pure port, although there are some differences (beside language >> difference) in the internal structure, it does it's work pretty well. The >> main difference is that finding and compiling assets were divided into >> two phases, e.g.: >> >> ``` ruby >> asset = environment.find_asset 'app.js' >> asset.to_s # -> compiled body of the asset >> ``` >> >> transforms into: >> >> ``` javascript >> environment.findAsset('app.js').compile(function (err, asset) { >> asset.toString(); // -> compiled body of the assets >> }); >> ``` >> >> For those who want to hack into sources I have prepared some >> API docs [2], which I hope will help to understand sources little bit.. >> >> >> [1]: https://github.com/nodeca/mincer/ >> [2]: http://nodeca.github.com/mincer/ >> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en > > > > > > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Sincerely yours, Aleksey V. Zapparov A.K.A. ixti FSF Member #7118 Mobile Phone: +34 677 990 688 Homepage: http://www.ixti.net JID: [email protected] *Origin: Happy Hacking! -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
