@embeddable.com/sdk-core 3.14.3-next.0 → 3.14.4-next.0

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/lib/index.esm.js CHANGED
@@ -511,7 +511,7 @@ async function buildThemeHook(ctx) {
511
511
  return { fileName: undefined, watcher: undefined };
512
512
  }
513
513
  const repoThemeImport = repoThemeHookExists
514
- ? `import localThemeProvider from '${ctx.client.customizationFile}';`
514
+ ? `import localThemeProvider from '${ctx.client.customizationFile.replace(/\\/g, "/")}';`
515
515
  : "const localThemeProvider = () => {};";
516
516
  // Generate a temporary file that imports both library and repo theme
517
517
  await generateTemporaryHookFile(ctx, imports, functionNames, repoThemeImport);