jupiterjs/javascriptmvc — Issue #19: Steal supports packages
Author: justinbmeyer
Created: 2011-10-18 05:00:23+00:00
State: open

Steal should be able to 'package' a plugin and all of its dependencies like:

steal.packages('clui/base').then('plugins/foo','plugins/bar')

This will build everything in clui/base to something like `app/clui_base.js'. And instruct app/production.js to load it:

steal.loading({src: 'production.js', has: ['clui/base/plugin1.js'', ...]})

Things to think about:

- we need to refactor the build stuff to make walking dependencies and making 'parts' of an possible with shared code.