1 | var _ = require("lodash")
|
2 | , Base = require("./base")
|
3 | , includes = require("./includes_bundle");
|
4 |
|
5 | module.exports = function(files, minify, watch, factor){
|
6 | watch = watch || false;
|
7 | var bundle = base(files, minify).addTransforms()
|
8 | includes(bundle.getBundle());
|
9 |
|
10 | if(watch){
|
11 | bundle.watch(factor)
|
12 | } else {
|
13 | bundle.build(factor)
|
14 | }
|
15 | } |
\ | No newline at end of file |