Revert uglify
This commit is contained in:
parent
9b763a16cb
commit
ebbbada2b0
1
.gitignore
vendored
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
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user