Automattic / browserbuild

Write for node, compile for browser.
170 stars 16 forks source link

Adds a Stylus-like API for browserbuild #17

Closed mixu closed 12 years ago

mixu commented 12 years ago

I wanted to use browserbuild directly from node, so I implemented https://github.com/LearnBoost/browserbuild/issues/14

Supported:

browserbuild(paths, options)
  .set(key, val) // change options
  .include(paths) // add more paths
  .render(fn); // callback(err, txt)

browserbuild.render(paths, options, fn)
rauchg commented 12 years ago

This is beautiful @mixu. I'm almost tearing up

mixu commented 12 years ago

:+1: let's do lunch sometime!