@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.esm.js CHANGED
@@ -352,7 +352,9 @@ async function generate$1(ctx) {
352
352
  const optionsFiles = await findFiles(ctx.client.srcDir, EMB_OPTIONS_FILE_REGEX);
353
353
  const typeImports = typeFiles
354
354
  .concat(optionsFiles)
355
- .map(([_fileName, filePath]) => `import './${path$1.relative(ctx.client.rootDir, filePath)}';`)
355
+ .map(([_fileName, filePath]) => `import './${path$1
356
+ .relative(ctx.client.rootDir, filePath)
357
+ .replaceAll("\\", "/")}';`)
356
358
  .join("\n");
357
359
  await fs$1.writeFile(path$1.resolve(ctx.client.rootDir, ctx.outputOptions.typesEntryPointFilename), typeImports);
358
360
  }