bkconrad / wasabi

MIT License
31 stars 1 forks source link

Client build #7

Closed bkconrad closed 10 years ago

bkconrad commented 11 years ago

Wasabi has never actually run in a browser. There should be a jake task to make a single (minified?) file that can be run in a browser.

bkconrad commented 11 years ago

run jake build and the browser version will be in the build directory

This needs to be automatically built either right after download from npm, or right before publishing (in which case it will need to be version controlled too)

bkconrad commented 10 years ago

Since user code will typically be pretty intertwined with Wasabi, it's actually easiest to simply require('wasabi') and browserify the client-side version of user code, typically with -r ./client.js or similar enabled.