Explorar el Código

Update grunt tasks to generate source maps.

Paulo Reis hace 9 años
padre
commit
5b9e5ecd13
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      services/web/Gruntfile.coffee

+ 3 - 0
services/web/Gruntfile.coffee

@@ -108,6 +108,8 @@ module.exports = (grunt) ->
 				src: ['**/*.coffee'],
 				src: ['**/*.coffee'],
 				dest: 'public/js/',
 				dest: 'public/js/',
 				ext: '.js'
 				ext: '.js'
+				options:
+					sourceMap: true,
 
 
 			smoke_tests:
 			smoke_tests:
 				expand: true,
 				expand: true,
@@ -164,6 +166,7 @@ module.exports = (grunt) ->
 					baseUrl: "./"
 					baseUrl: "./"
 					dir: "public/minjs"
 					dir: "public/minjs"
 					inlineText: false
 					inlineText: false
+					generateSourceMaps: true
 					preserveLicenseComments: false
 					preserveLicenseComments: false
 					paths:
 					paths:
 						"moment": "libs/#{PackageVersions.lib('moment')}"
 						"moment": "libs/#{PackageVersions.lib('moment')}"