Browse Source

Disabled sourceMaps

Closes #458
master
Igor Zhukov 10 years ago
parent
commit
10eae07f83
  1. 2
      gulpfile.js
  2. 6
      package.json

2
gulpfile.js

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

6
package.json

@ -35,9 +35,9 @@ @@ -35,9 +35,9 @@
"gulp": "~3.5.5",
"gulp-angular-templatecache": "^1.1.0",
"gulp-load-plugins": "^0.4.0",
"gulp-usemin": "^0.3.3",
"gulp-uglify": "^0.2.1",
"gulp-rev": "^0.3.0",
"gulp-usemin": "^0.3.8",
"gulp-uglify": "^1.0.1",
"gulp-rev": "^1.1.0",
"gulp-minify-css": "^0.3.0",
"gulp-minify-html": "^0.1.1",
"gulp-imagemin": "^0.1.5",

Loading…
Cancel
Save