@embeddable.com/sdk-core 3.2.0-next.4 → 3.2.0-next.5
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 +2 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/loader/custom-esm-loader.mjs +1 -2
- package/package.json +1 -1
- package/src/provideConfig.ts +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -8,6 +8,7 @@ import * as fs$2 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';
|
|
@@ -4633,7 +4634,7 @@ var provideConfig = async () => {
|
|
|
4633
4634
|
const configPath = fs$2.existsSync(tsConfigFilePath)
|
|
4634
4635
|
? tsConfigFilePath
|
|
4635
4636
|
: configFilePath;
|
|
4636
|
-
return (await import(configPath)).default;
|
|
4637
|
+
return (await import(url$2.pathToFileURL(configPath).href)).default;
|
|
4637
4638
|
};
|
|
4638
4639
|
|
|
4639
4640
|
function getDefaultExportFromCjs (x) {
|