cartodb-4.42/lib/assets/javascripts/cdb/grunt/tasks/uglify.js
2024-04-06 05:25:13 +00:00

25 lines
887 B
JavaScript

/**
* Uglify grunt task for CartoDB.js
*
*/
module.exports = {
task: function() {
return {
dist: {
options: {
banner: '// CartoDB.js version: <%= grunt.config("bump.version") %> \n' +
'// sha: <%= grunt.config.get("gitinfo").local.branch.current.SHA %> \n'
},
files: {
'<%= config.dist %>/cartodb.js': ['<%= config.dist %>/cartodb.uncompressed.js'],
'<%= config.dist %>/cartodb.core.js': ['<%= config.dist %>/cartodb.core.uncompressed.js'],
'<%= config.dist %>/cartodb_nojquery.js': ['<%= config.dist %>/_cartodb_nojquery.js'],
'<%= config.dist %>/cartodb_noleaflet.js': ['<%= config.dist %>/_cartodb_noleaflet.js'],
'<%= config.dist %>/cartodb.mod.torque.js': ['<%= config.dist %>/cartodb.mod.torque.uncompressed.js']
}
}
}
}
}