From e017b270755381ad2867982835f5bdd4939d89ad Mon Sep 17 00:00:00 2001 From: KKudryavtsev Date: Fri, 4 Dec 2015 18:39:45 +0000 Subject: [PATCH] switched source maps off --- Gruntfile.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1552a92..50e4099 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -185,7 +185,7 @@ module.exports = function(grunt) { concat: { vendor: { options: { - sourceMap: true, + souceMap: false, sourceMapIncludeSources: true, sourceMapIn: ['dist/js/lib/*.map'] }, @@ -201,13 +201,13 @@ module.exports = function(grunt) { }, netstats: { options: { - sourceMap: true, + sourceMap: false, sourceMapIncludeSources: true, sourceMapIn: ['dist/js/vendor.min.js.map', 'dist/js/app.min.js.map'] }, src: ['<%= concat.vendor.dest %>', '<%= uglify.app.dest %>'], dest: 'dist/js/netstats.min.js', - nonull: true, + nonull: true }, css: { src: ['dist/css/*.min.css', 'dist/css/*.css'], @@ -215,7 +215,7 @@ module.exports = function(grunt) { }, vendor_lite: { options: { - sourceMap: true, + sourceMap: false, sourceMapIncludeSources: true, sourceMapIn: ['dist-lite/js/lib/*.map'] }, @@ -231,7 +231,7 @@ module.exports = function(grunt) { }, netstats_lite: { options: { - sourceMap: true, + sourceMap: false, sourceMapIncludeSources: true, sourceMapIn: ['dist-lite/js/vendor.min.js.map', 'dist-lite/js/app.min.js.map'] }, @@ -248,7 +248,7 @@ module.exports = function(grunt) { app: { options: { mangle: false, - sourceMap: true, + sourceMap: false, sourceMapIncludeSources: true }, dest: 'dist/js/app.min.js', @@ -257,7 +257,7 @@ module.exports = function(grunt) { app_lite: { options: { mangle: false, - sourceMap: true, + sourceMap: false, sourceMapIncludeSources: true }, dest: 'dist-lite/js/app.min.js', @@ -277,4 +277,4 @@ module.exports = function(grunt) { grunt.registerTask('lite', ['clean:build_lite', 'clean:cleanup_js_lite', 'clean:cleanup_css_lite', 'jade:build_lite', 'copy:build_lite', 'cssmin:build_lite', 'concat:vendor_lite', 'concat:scripts_lite', 'uglify:app_lite', 'concat:netstats_lite', 'concat:css_lite', 'clean:cleanup_js_lite', 'clean:cleanup_css_lite']); grunt.registerTask('build', 'default'); grunt.registerTask('all', ['default', 'lite']); -}; \ No newline at end of file +};