Update grunt tasks to generate source maps.

This commit is contained in:
Paulo Reis 2017-06-26 16:14:03 +01:00
parent 3bc4beee07
commit 5b9e5ecd13

View file

@ -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')}"