diff --git a/packages/babel/src/transformation/file/index.js b/packages/babel/src/transformation/file/index.js index 6505704cb3..d7f4f4147a 100644 --- a/packages/babel/src/transformation/file/index.js +++ b/packages/babel/src/transformation/file/index.js @@ -676,10 +676,6 @@ export default class File { map: map }; - result.then = function (callback) { - callback(result); - }; - if (this.opts.code) { result.code = code; }