We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 329b51e + 5b9adcd commit a854b4eCopy full SHA for a854b4e
gulp/tasks/bootstrap.js
@@ -4,6 +4,7 @@ var gulp = require('gulp'),
4
templateCache = require('gulp-angular-templatecache'),
5
concat = require('gulp-concat'),
6
rename = require('gulp-rename'),
7
+ umd = require('gulp-umd'),
8
uglify = require('gulp-uglify');
9
10
gulp.task('bootstrap', function() {
@@ -24,6 +25,15 @@ gulp.task('bootstrap', function() {
24
25
26
stream.done()
27
.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
+ }))
37
.pipe(gulp.dest('./dist/'))
38
.pipe(uglify())
39
.pipe(rename('bootstrap-decorator.min.js'))
0 commit comments