cujojs / cram

Simple, yet powerful, AMD and CommonJS module bundler.
http://cujojs.com
58 stars 9 forks source link

Create docs for creating build-time plugins #17

Open unscriptable opened 11 years ago

unscriptable commented 11 years ago

There are no docs for creating cram plugins. Need docs nao!

briancavalier commented 11 years ago

Yay docs!

gogamoga commented 10 years ago

point me in some direction

unscriptable commented 10 years ago

@gogamoga: look at the curl and wire plugins for some examples. :)

unscriptable commented 10 years ago

The basic idea is to create a simplified AMD define() that exports a value. The io object has some useful helper functions on it.

gogamoga commented 10 years ago

ok, going to try something. Have to do it in js instead of coffee :(