Right now steal.js has what it needs to support packages, but package support hasn't been implemented in steal/build. To manually do this, you could create a second app, steal the scripts you want to be in your package, build it, then in your main app (or apps) to include the package...
if(steal.options.env == 'production')
steal('mycommonplugins/package.js')
else
steal({src: 'mycommonplugins/plugin1', packaged: true}, ....)
We set packaged: true to tell steal that when we compress, load this file, but don't add it to the production.js for this app. Basically, this can work right now, but there will soon be support for doing all this automatically. Adding this feature is at the top of the priority list for the 3.2 release.
- Brian