Skip to content

Commit

Permalink
Merge pull request #4061 from NTag/develop
Browse files Browse the repository at this point in the history
Fix #4060: bundle.generate returns a Promise now
  • Loading branch information
maggiepint committed Jul 12, 2017
2 parents b8a7fc3 + d9cc5ef commit f206152
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/transpile.js
Expand Up @@ -71,7 +71,8 @@ module.exports = function (grunt) {
}

return rollup(rollupOpts).then(function (bundle) {
var result = bundle.generate(bundleOpts);
return bundle.generate(bundleOpts);
}).then(function (result) {
return result.code;
});
}
Expand Down

0 comments on commit f206152

Please sign in to comment.