Skip to content

Commit

Permalink
need crawl
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed May 4, 2024
1 parent e083cea commit 77448e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/babel-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export default function hotReplaceAst(
t.blockStatement([...hotAccepts]),
);
path.node.body.push(ifHot);
path.scope.crawl();
}
},
} as PluginObj;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-vite-hmr",
"version": "1.4.0",
"version": "1.4.1",
"keywords": [
"ember-addon"
],
Expand Down

0 comments on commit 77448e6

Please sign in to comment.