Skip to content

Commit b3d80ad

Browse files
authored
add scope and state
1 parent 153618a commit b3d80ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export function makePlugin<EnvSpecificOptions>(loadOptions: (opts: EnvSpecificOp
181181
// also use hbs format, so that other plugins can change the hbs part.
182182
const targetFormat = this.opts.targetFormat;
183183
this.opts.targetFormat = 'hbs';
184-
babel.traverse(file.ast, plugin.visitor);
184+
babel.traverse(file.ast, plugin.visitor, file.scope, this);
185185
this.opts.targetFormat = this.opts.targetFormat;
186186
},
187187
visitor: {

0 commit comments

Comments
 (0)