diff --git a/translations/en/plugin-handbook.md b/translations/en/plugin-handbook.md index 112a8ebb..dcec73ff 100644 --- a/translations/en/plugin-handbook.md +++ b/translations/en/plugin-handbook.md @@ -898,7 +898,8 @@ We can use it alongside to traverse and update nodes: ```js import parser from "@babel/parser"; -import traverse from "@babel/traverse"; +import _traverse from "@babel/traverse"; +const traverse = _traverse.default; const code = `function square(n) { return n * n;