Merge pull request #6778 from loganfsmyth/use-peerdep

Use the peerDep to load types/template/traverse in plugins
This commit is contained in:
Logan Smyth
2017-11-08 23:05:08 -08:00
committed by GitHub
80 changed files with 141 additions and 116 deletions

View File

@@ -1,6 +1,7 @@
import path from "path";
import { types as t } from "@babel/core";
export default function({ types: t }) {
export default function() {
function addDisplayName(id, call) {
const props = call.arguments[0].properties;
let safe = true;