Skip to content

Commit c4794f9

Browse files
authored
feat: Run the plugin in the "enter" phase of the Program (#179)
1 parent 05ffc96 commit c4794f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const importVisitors = {
1010

1111
const visitor = {
1212
Program: {
13-
exit(programPath, state) {
13+
enter(programPath, state) {
1414
programPath.traverse(importVisitors, state);
1515
},
1616
},

0 commit comments

Comments
 (0)