Move things around
This commit is contained in:
parent
bf91a68375
commit
b53755422c
@ -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;
|
||||
|
||||
@ -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");
|
||||
|
||||
|
||||
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user