Browse Source

Revert uglify

master
Igor Zhukov 9 years ago
parent
commit
ebbbada2b0
  1. 1
      .gitignore
  2. 2
      gulpfile.js

1
.gitignore vendored

@ -1,5 +1,6 @@
.DS_Store .DS_Store
.idea .idea
.publish
*.sublime-workspace *.sublime-workspace
# Node.js package manager # Node.js package manager

2
gulpfile.js

@ -29,7 +29,7 @@ gulp.task('usemin-index', 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: ['concat', $.ngAnnotate()/*, $.uglify({outSourceMap: false})*/], js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})],
css: ['concat', $.minifyCss({compatibility: true, keepBreaks: true})] css: ['concat', $.minifyCss({compatibility: true, keepBreaks: true})]
})) }))
.pipe(gulp.dest('dist')) .pipe(gulp.dest('dist'))

Loading…
Cancel
Save