Skip to content

Commit 4b81956

Browse files
authored
Merge branch 'main' into honour-removePragmas-when-bundle-workers
2 parents 09d25df + ce6c3e2 commit 4b81956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sandcastle/scripts/buildGallery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ if (import.meta.url.endsWith(`${pathToFileURL(process.argv[1])}`)) {
299299
let buildGalleryOptions;
300300

301301
try {
302-
const config = await import(configPath);
302+
const config = await import(pathToFileURL(configPath).href);
303303
const { root, publicDir, gallery, sourceUrl } = config.default;
304304

305305
// Paths are specified relative to the config file

0 commit comments

Comments
 (0)