Permalink
Browse files
- Updating gulp-uglify version
- Loading branch information
Showing
with
4 additions
and
2 deletions.
-
+3
−1
gulpfile.js
-
+1
−1
package.json
|
@@ -23,7 +23,9 @@ gulp.task('js', function() { |
|
|
.pipe(sourcemaps.init()) |
|
|
.pipe(gulp.dest('./dist')) |
|
|
.pipe(uglify({ |
|
|
preserveComments: 'license' |
|
|
output: { |
|
|
comments: 'some' |
|
|
} |
|
|
})) |
|
|
.pipe(rename({suffix: '.min'})) |
|
|
.pipe(sourcemaps.write('.')) |
|
|
|
@@ -29,6 +29,6 @@ |
|
|
"gulp-clean-css": "^2.0.13", |
|
|
"gulp-rename": "^1.2.2", |
|
|
"gulp-sourcemaps": "^2.1.1", |
|
|
"gulp-uglify": "^2.0.0" |
|
|
"gulp-uglify": "^3.0.0" |
|
|
} |
|
|
} |