@embeddable.com/sdk-core 2.4.29 → 2.4.30

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
@@ -8,6 +8,7 @@ import * as fsSync from 'node:fs';
8
8
  import { createNodeLogger, createNodeSys } from '@stencil/core/sys/node';
9
9
  import { loadConfig, createCompiler } from '@stencil/core/compiler';
10
10
  import * as YAML from 'yaml';
11
+ import * as url$2 from 'node:url';
11
12
  import * as path$2 from 'path';
12
13
  import path__default, { basename } from 'path';
13
14
  import require$$4$1 from 'util';
@@ -4627,7 +4628,8 @@ var provideConfig = async () => {
4627
4628
  console.log("Please create a proper `embeddable.config.js` file first.");
4628
4629
  process.exit(1);
4629
4630
  }
4630
- return (await import(configFilePath)).default;
4631
+ const configFileUrl = url$2.pathToFileURL(configFilePath).href;
4632
+ return (await import(configFileUrl)).default;
4631
4633
  };
4632
4634
 
4633
4635
  function getDefaultExportFromCjs (x) {