1 // this example will bundle every dependency
4 .on("package", bundleIt)
5 .on("entry", function (e) {
6 console.error(e.constructor.name, e.path.substr(e.root.dirname.length + 1))
7 e.on("package", bundleIt)
10 function bundleIt (p) {
11 p.bundleDependencies = Object.keys(p.dependencies || {})