Merge pull request #6778 from loganfsmyth/use-peerdep
Use the peerDep to load types/template/traverse in plugins
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user