Move things around

This commit is contained in:
Amjad Masad 2016-03-02 18:37:29 -08:00
parent bf91a68375
commit b53755422c
4 changed files with 3 additions and 4 deletions

View File

@ -9,7 +9,6 @@ import * as t from "babel-types";
export { default as NodePath } from "./path";
export { default as Scope } from "./scope";
export { default as Hub } from "./hub";
export { default as cache } from "./path/cache";
export { visitors };
export default function traverse(
@ -40,7 +39,7 @@ traverse.explode = visitors.explode;
traverse.NodePath = require("./path");
traverse.Scope = require("./scope");
traverse.Hub = require("./hub");
traverse.cache = require("./path/cache");
traverse.cache = require("./cache");
traverse.cheap = function (node, enter) {
if (!node) return;

View File

@ -9,7 +9,7 @@ import traverse from "../index";
import assign from "lodash/object/assign";
import Scope from "../scope";
import * as t from "babel-types";
import { path as pathCache } from "./cache";
import { path as pathCache } from "../cache";
let debug = buildDebug("babel");

View File

@ -1,7 +1,7 @@
/* eslint max-len: 0 */
// This file contains methods that modify the path/node in some ways.
import { path as pathCache } from "./cache";
import { path as pathCache } from "../cache";
import PathHoister from "./lib/hoister";
import NodePath from "./index";
import * as t from "babel-types";