Merge pull request #1177 from gennadiylitvinyuk/patch-1

Preserve License info in Closure Compiler
This commit is contained in:
Kevin Decker
2016-02-05 08:31:59 -06:00
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = function(grunt) {
dist: {
options: {
processContent: function(content) {
return grunt.template.process('/*!\n\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n@license\n*/\n')
return grunt.template.process('/**!\n\n @license\n <%= pkg.name %> v<%= pkg.version %>\n\n<%= grunt.file.read("LICENSE") %>\n*/\n')
+ content;
}
},