Bundling with JSPM is easy, here is a simple task:
var exec = require('child_process').exec;
gulp.task('jspmBuild', function (cb) {
exec('jspm bundle-sfx src/app/app.js dist/app.min.js --skip-source-maps', function (err, stdout, stderr) {
cb(err);
});
});
What I would like to do, is have two separate bundles, one for the vendor files and one for the actual app.
Is that possible?