diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index c5ca4d23271c..9d51e81c8178 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -141,6 +141,7 @@ module.exports = { var mapFile = minFile + '.map'; var mapFileName = mapFile.match(/[^\/]+$/)[0]; var errorFileName = file.replace(/\.js$/, '-errors.json'); + var versionNumber = this.getVersion().number; shell.exec( 'java ' + this.java32flags() + ' ' + @@ -154,7 +155,7 @@ module.exports = { '--language_in ECMASCRIPT5_STRICT ' + '--minerr_pass ' + '--minerr_errors ' + errorFileName + ' ' + - '--minerr_url http://errors.angularjs.org/ ' + + '--minerr_url http://errors.angularjs.org/' + versionNumber + '/ ' + '--source_map_format=V3 ' + '--create_source_map ' + mapFile + ' ' + '--js ' + file + ' ' +