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,6 @@
import type NodePath from "@babel/traverse";
export default function(babel, options) {
export default function(api, options) {
const { spec } = options;
return {
visitor: {