lib/condenser/processors/node_modules/regenerator-transform/src/index.js in condenser-0.0.4 vs lib/condenser/processors/node_modules/regenerator-transform/src/index.js in condenser-0.0.5

- old
+ new

@@ -3,12 +3,14 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ +import { getVisitor } from "./visit"; + export default function (context) { const plugin = { - visitor: require("./visit").getVisitor(context), + visitor: getVisitor(context), }; // Some presets manually call child presets, but fail to pass along the // context object. Out of an abundance of caution, we verify that it // exists first to avoid causing unnecessary breaking changes.