@absolutejs/absolute 0.19.0-beta.101 → 0.19.0-beta.102

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/build.js CHANGED
@@ -426,7 +426,7 @@ var indexContentCache, resolveDevClientDir = () => {
426
426
  ` if (origOnMessage) origOnMessage.call(this, event);`,
427
427
  ` try {`,
428
428
  ` const msg = JSON.parse(event.data);`,
429
- ` if (msg.type === 'react-update') {`,
429
+ ` if (msg.type === 'react-update' && msg.data?.primarySource && !msg.data.primarySource.endsWith('.tsx') && !msg.data.primarySource.endsWith('.jsx')) {`,
430
430
  ` const url = "/@src/${relative(process.cwd(), resolve(reactPagesDirectory, componentName + ".tsx")).replace(/\\/g, "/")}";`,
431
431
  ` const start = performance.now();`,
432
432
  ` import(url + '?t=' + Date.now()).then(mod => {`,
@@ -204903,5 +204903,5 @@ export {
204903
204903
  build
204904
204904
  };
204905
204905
 
204906
- //# debugId=CC8984512E0AEA7A64756E2164756E21
204906
+ //# debugId=06A4EF6FCFC8E3D664756E2164756E21
204907
204907
  //# sourceMappingURL=build.js.map