elit 3.4.1 → 3.4.2

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/index.mjs CHANGED
@@ -2038,6 +2038,9 @@ var ElitHMR = class {
2038
2038
  console.log("[Elit HMR] Disabled for file:// protocol");
2039
2039
  return;
2040
2040
  }
2041
+ if (window.__ELIT_MODE__ === "preview") {
2042
+ return;
2043
+ }
2041
2044
  this.connect();
2042
2045
  }
2043
2046
  connect() {