switched source maps off

This commit is contained in:
KKudryavtsev 2015-12-04 18:39:45 +00:00
parent 04f9f57875
commit e017b27075

View File

@ -185,7 +185,7 @@ module.exports = function(grunt) {
concat: { concat: {
vendor: { vendor: {
options: { options: {
sourceMap: true, souceMap: false,
sourceMapIncludeSources: true, sourceMapIncludeSources: true,
sourceMapIn: ['dist/js/lib/*.map'] sourceMapIn: ['dist/js/lib/*.map']
}, },
@ -201,13 +201,13 @@ module.exports = function(grunt) {
}, },
netstats: { netstats: {
options: { options: {
sourceMap: true, sourceMap: false,
sourceMapIncludeSources: true, sourceMapIncludeSources: true,
sourceMapIn: ['dist/js/vendor.min.js.map', 'dist/js/app.min.js.map'] sourceMapIn: ['dist/js/vendor.min.js.map', 'dist/js/app.min.js.map']
}, },
src: ['<%= concat.vendor.dest %>', '<%= uglify.app.dest %>'], src: ['<%= concat.vendor.dest %>', '<%= uglify.app.dest %>'],
dest: 'dist/js/netstats.min.js', dest: 'dist/js/netstats.min.js',
nonull: true, nonull: true
}, },
css: { css: {
src: ['dist/css/*.min.css', 'dist/css/*.css'], src: ['dist/css/*.min.css', 'dist/css/*.css'],
@ -215,7 +215,7 @@ module.exports = function(grunt) {
}, },
vendor_lite: { vendor_lite: {
options: { options: {
sourceMap: true, sourceMap: false,
sourceMapIncludeSources: true, sourceMapIncludeSources: true,
sourceMapIn: ['dist-lite/js/lib/*.map'] sourceMapIn: ['dist-lite/js/lib/*.map']
}, },
@ -231,7 +231,7 @@ module.exports = function(grunt) {
}, },
netstats_lite: { netstats_lite: {
options: { options: {
sourceMap: true, sourceMap: false,
sourceMapIncludeSources: true, sourceMapIncludeSources: true,
sourceMapIn: ['dist-lite/js/vendor.min.js.map', 'dist-lite/js/app.min.js.map'] sourceMapIn: ['dist-lite/js/vendor.min.js.map', 'dist-lite/js/app.min.js.map']
}, },
@ -248,7 +248,7 @@ module.exports = function(grunt) {
app: { app: {
options: { options: {
mangle: false, mangle: false,
sourceMap: true, sourceMap: false,
sourceMapIncludeSources: true sourceMapIncludeSources: true
}, },
dest: 'dist/js/app.min.js', dest: 'dist/js/app.min.js',
@ -257,7 +257,7 @@ module.exports = function(grunt) {
app_lite: { app_lite: {
options: { options: {
mangle: false, mangle: false,
sourceMap: true, sourceMap: false,
sourceMapIncludeSources: true sourceMapIncludeSources: true
}, },
dest: 'dist-lite/js/app.min.js', dest: 'dist-lite/js/app.min.js',