MCPcopy Create free account
hub / github.com/amorey/loadjs / buildJs

Function buildJs

gulpfile.js:66–81  ·  view source on GitHub ↗
(dirname)

Source from the content-addressed store, hash-verified

64
65
66function buildJs(dirname) {
67 return makeTask('build-js: ' + dirname, function() {
68 return gulp.src('src/loadjs.js')
69 .pipe(umd({
70 namespace: umdNamespace,
71 template: 'umd-templates/web.js'
72 }))
73 .pipe(jshint())
74 .pipe(jshint.reporter('default'))
75 .pipe(rename('loadjs.js'))
76 .pipe(gulp.dest(dirname))
77 .pipe(uglify())
78 .pipe(rename('loadjs.min.js'))
79 .pipe(gulp.dest(dirname));
80 });
81}
82
83function buildUmdJs(dirname) {
84 return makeTask('build-umd-js: ' + dirname, function() {

Callers 1

gulpfile.jsFile · 0.85

Calls 1

makeTaskFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…