Browse Source

Added source map while uglifying

master
Igor Zhukov 11 years ago
parent
commit
376c1173ff
  1. 2
      gulpfile.js

2
gulpfile.js

@ -21,7 +21,7 @@ gulp.task('usemin', ['templates', 'enable-production'], function() {
return gulp.src('app/index.html') return gulp.src('app/index.html')
.pipe($.usemin({ .pipe($.usemin({
html: [$.minifyHtml({empty: true})], html: [$.minifyHtml({empty: true})],
js: [$.ngmin(), $.uglify(), 'concat'], js: ['concat', $.ngmin(), $.uglify({outSourceMap: true})],
css: [$.minifyCss(), 'concat'] css: [$.minifyCss(), 'concat']
})) }))
.pipe(gulp.dest('dist')); .pipe(gulp.dest('dist'));

Loading…
Cancel
Save