Skip to content

Commit a854b4e

Browse files
committed
Merge branch 'angelaharalson-development' into development
2 parents 329b51e + 5b9adcd commit a854b4e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

gulp/tasks/bootstrap.js

+10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ var gulp = require('gulp'),
44
templateCache = require('gulp-angular-templatecache'),
55
concat = require('gulp-concat'),
66
rename = require('gulp-rename'),
7+
umd = require('gulp-umd'),
78
uglify = require('gulp-uglify');
89

910
gulp.task('bootstrap', function() {
@@ -24,6 +25,15 @@ gulp.task('bootstrap', function() {
2425

2526
stream.done()
2627
.pipe(concat('bootstrap-decorator.js'))
28+
.pipe(umd({
29+
dependencies: function() {
30+
return [
31+
{name: 'schemaForm'},
32+
];
33+
},
34+
exports: function() {return 'schemaForm';},
35+
namespace: function() {return 'bootstrapDecorator';}
36+
}))
2737
.pipe(gulp.dest('./dist/'))
2838
.pipe(uglify())
2939
.pipe(rename('bootstrap-decorator.min.js'))

0 commit comments

Comments
 (0)