Explorar o código

Update grunt tasks to generate source maps.

Paulo Reis %!s(int64=9) %!d(string=hai) anos
pai
achega
5b9e5ecd13
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      services/web/Gruntfile.coffee

+ 3 - 0
services/web/Gruntfile.coffee

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