Open paulberg opened 10 years ago
Yes.
Looks like this is already handled by the presence of LICENSE and the license property in bower.json? Or is this adding a banner to the top of the file?
I guess @paulberg wants a banner on the top of each dist files right ? A little bit of grunt concat will do it :+1:
https://github.com/mattstyles/grunt-banner works well too.
Yeah look nice but I would like to tackle the IIFE problem in the same line. So I would be cool to have on the dist task
// The banner
/* bla bla bla */
// The IIFE stuff
(function(window, document, undefined) {'use strict';
// The src content
angular.module...
// The final IIFE stuff
})(window, document);
What you think @richleland ?
The javascript file does not contain any comment as to the source of the code or the license it is under. This makes it difficult for end users to see the license. Could this be added to the source files?