switched source maps off
This commit is contained in:
parent
04f9f57875
commit
e017b27075
16
Gruntfile.js
16
Gruntfile.js
@ -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',
|
||||||
@ -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('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('build', 'default');
|
||||||
grunt.registerTask('all', ['default', 'lite']);
|
grunt.registerTask('all', ['default', 'lite']);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user