ember-vite-hmr 1.4.16 → 1.4.17

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.
Files changed (2) hide show
  1. package/dist/lib/hmr.js +2 -2
  2. package/package.json +1 -1
package/dist/lib/hmr.js CHANGED
@@ -100,10 +100,10 @@ function hmr(enableViteHmrForModes = ['development']) {
100
100
  let appRoot = conf.root + '/app/';
101
101
  if (id.startsWith(appRoot) &&
102
102
  !id.startsWith('embroider_virtual:')) {
103
- id = '/app/' + id.split(appRoot)[1];
103
+ id = 'app/' + id.split(appRoot)[1];
104
104
  }
105
105
  if (id.startsWith('embroider_virtual:')) {
106
- id = '/@id/' + id;
106
+ id = '@id/' + id;
107
107
  }
108
108
  if (path_1.default.resolve(id).replace(/\\/g, '/') === id &&
109
109
  path_1.default.isAbsolute(id)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-vite-hmr",
3
- "version": "1.4.16",
3
+ "version": "1.4.17",
4
4
  "keywords": [
5
5
  "ember-addon"
6
6
  ],