ember-vite-hmr 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/babel-plugin.js +1 -0
- package/package.json +1 -1
package/dist/lib/babel-plugin.js
CHANGED
|
@@ -246,6 +246,7 @@ function hotReplaceAst({ types: t }) {
|
|
|
246
246
|
}
|
|
247
247
|
const ifHot = t.ifStatement(t.memberExpression(t.metaProperty(t.identifier('import'), t.identifier('meta')), t.identifier('hot')), t.blockStatement([...hotAccepts]));
|
|
248
248
|
path.node.body.push(ifHot);
|
|
249
|
+
path.scope.crawl();
|
|
249
250
|
}
|
|
250
251
|
},
|
|
251
252
|
};
|