Browse Source

Revert uglify

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

1
.gitignore vendored

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

2
gulpfile.js

@ -29,7 +29,7 @@ gulp.task('usemin-index', function () { @@ -29,7 +29,7 @@ gulp.task('usemin-index', function () {
return gulp.src('app/index.html')
.pipe($.usemin({
html: [$.minifyHtml({empty: true})],
js: ['concat', $.ngAnnotate()/*, $.uglify({outSourceMap: false})*/],
js: ['concat', $.ngAnnotate(), $.uglify({outSourceMap: false})],
css: ['concat', $.minifyCss({compatibility: true, keepBreaks: true})]
}))
.pipe(gulp.dest('dist'))

Loading…
Cancel
Save