summaryrefslogtreecommitdiffstats
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 4c94bdc..bc75bec 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -8,8 +8,7 @@ var del = require('del')
, size = require('gulp-size')
, trim = require('gulp-trimlines')
, uglify = require('gulp-uglify')
- , wrapUmd = require('gulp-wrap-umd')
- , wrapper = require('gulp-wrapper')
+ , wrapUmd = require('gulp-wrap')
, request = require('request')
, fs = require('fs')
, pkg = require('./package.json')
@@ -98,10 +97,7 @@ gulp.task('unify', ['clean'], function() {
return gulp.src(parts)
.pipe(concat('svg.js', { newLine: '\n' }))
// wrap the whole thing in an immediate function call
- .pipe(wrapUmd({
- namespace: 'SVG',
- exports: 'SVG'
- }))
+ .pipe(wrapUmd({ src: 'src/umd.js'}))
.pipe(header(headerLong, { pkg: pkg }))
.pipe(trim({ leading: false }))
.pipe(chmod(644))