ember-vite-hmr 1.5.3 → 1.5.4

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.
@@ -111,11 +111,10 @@ class HotAstProcessor {
111
111
  };
112
112
  }
113
113
  const meta = this.meta;
114
- const importVar = meta.importVar ||
115
- env.meta.jsutils.bindExpression('null', null, {
116
- nameHint: 'template__imports__',
117
- });
118
- meta.importVar = importVar;
114
+ const importVar = env.meta.jsutils.bindExpression(meta.importVar || 'null', null, {
115
+ nameHint: 'template__imports__',
116
+ });
117
+ meta.importVar = meta.importVar || importVar;
119
118
  const findImport = function findImport(specifier) {
120
119
  return meta.babelProgram.body.find((b) => b.type === 'ImportDeclaration' &&
121
120
  b.specifiers.some((s) => s.local.name === specifier));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-vite-hmr",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "keywords": [
5
5
  "ember-addon"
6
6
  ],