Share your code.
Gulp plugin that lets you work with folders and treat them as package names
npm install gulp-folders --save-dev
This gives you a perfect solution to build different packages out of folders. Given this structure:
path to folder main jquery.js ember.js secondary plugin.js
it is very easy to build
dist folder main.js secondary.js
var gulp =path =folders =pathToFolder = 'path/to/folder';gulp;