@embeddable.com/sdk-core 2.4.30 → 2.4.31

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.js CHANGED
@@ -379,7 +379,9 @@ async function generate$1(ctx) {
379
379
  const optionsFiles = await findFiles(ctx.client.srcDir, EMB_OPTIONS_FILE_REGEX);
380
380
  const typeImports = typeFiles
381
381
  .concat(optionsFiles)
382
- .map(([_fileName, filePath]) => `import './${path__namespace.relative(ctx.client.rootDir, filePath)}';`)
382
+ .map(([_fileName, filePath]) => `import './${path__namespace
383
+ .relative(ctx.client.rootDir, filePath)
384
+ .replaceAll("\\", "/")}';`)
383
385
  .join("\n");
384
386
  await fs__namespace.writeFile(path__namespace.resolve(ctx.client.rootDir, ctx.outputOptions.typesEntryPointFilename), typeImports);
385
387
  }