mirror of https://github.com/gophish/gophish
Adding core.js polyfill for IE11 Promises support. Fixes #609.
parent
80c68194a6
commit
dd905ecb3a
|
@ -46,7 +46,8 @@ gulp.task('build', function() {
|
||||||
vendor_directory + 'jquery.iframe-transport.js',
|
vendor_directory + 'jquery.iframe-transport.js',
|
||||||
vendor_directory + 'sweetalert2.min.js',
|
vendor_directory + 'sweetalert2.min.js',
|
||||||
vendor_directory + 'bootstrap-datetime.js',
|
vendor_directory + 'bootstrap-datetime.js',
|
||||||
vendor_directory + 'select2.min.js'
|
vendor_directory + 'select2.min.js',
|
||||||
|
vendor_directory + 'core.min.js'
|
||||||
])
|
])
|
||||||
.pipe(concat('vendor.js'))
|
.pipe(concat('vendor.js'))
|
||||||
.pipe(rename({
|
.pipe(rename({
|
||||||
|
@ -60,7 +61,9 @@ gulp.task('build', function() {
|
||||||
.pipe(rename({
|
.pipe(rename({
|
||||||
suffix: '.min'
|
suffix: '.min'
|
||||||
}))
|
}))
|
||||||
.pipe(uglify())
|
.pipe(uglify().on('error', function(e){
|
||||||
|
console.log(e);
|
||||||
|
}))
|
||||||
.pipe(gulp.dest(dest_js_directory + 'app/'));
|
.pipe(gulp.dest(dest_js_directory + 'app/'));
|
||||||
|
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue