diff --git a/packages/babel-core/src/transformation/file/index.js b/packages/babel-core/src/transformation/file/index.js index 06d6e14d34..5d5e18f29f 100644 --- a/packages/babel-core/src/transformation/file/index.js +++ b/packages/babel-core/src/transformation/file/index.js @@ -466,7 +466,7 @@ export default class File extends Store { for (let pass of (this.pluginPasses: Array)) { let plugin = pass.plugin; let fn = plugin[key]; - if (fn) fn.call(pass, this, pass); + if (fn) fn.call(pass, this); } }