zurb/bower-foundation — pull request #5 by guybedford (2013-11-26 16:25:58+00:00)
Title: jspm configuration

I've just been configuring this repo for jspm, and have managed to get it working nicely.

The configuration provided in the pull request, allows usage like the following:

http://jsbin.com/ugEfizA/2/edit

Basically, one can load with `jspm.import('foundation/magellan')` etc, all dependency managed.

The key points here are:
1. Creating simple entry points `foundation/orbit` instead of `foundation/js/foundation/foundation.orbit`, this is what the wildcard map config does.
2. Shimming global dependencies. All plugins are made dependent on foundation core to ensure load order, just like the RequireJS shim.
3. Uglification with source maps

Then when served off the CDN like in the example, all the dependencies are served with SPDY. Alternatively download the full repo with `jspm install foundation`.

It would be great to have this supported in the package, instead of needing an override for all this stuff.

Any questions at all just let me know.