-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
This grunt plugin always outputs the source of the compiled function, at least with grunt version 1.0.1.
generated csv file looks like this:
function (obj) {
obj || (obj = {});
var __t, __p = '', __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
with (obj) {
_.each(obj.files, function (files, i) {;
__p +=
((__t = (files.src)) == null ? '' : __t);
if(_.size(obj.files)!==i+1){;
__p += ',';
} });
}
return __p
}
Reason/cause is that in preload_assets.js, line 306 instead of
grunt.file.write(file.dest, compiled);
must be
grunt.file.write(file.dest, compiled(outputData));
Metadata
Metadata
Assignees
Labels
No labels