fix: correct host adapter extensions import path

This commit is contained in:
Youzini-afk
2026-03-26 23:59:23 +08:00
parent 70dcb9244a
commit b20e8dbb44
3 changed files with 9 additions and 3 deletions

View File

@@ -13,7 +13,10 @@ const extensionsShimUrl = `data:text/javascript,${encodeURIComponent(
registerHooks({
resolve(specifier, context, nextResolve) {
if (specifier === "../../../extensions.js") {
if (
specifier === "../../../extensions.js" ||
specifier === "../../../../extensions.js"
) {
return {
shortCircuit: true,
url: extensionsShimUrl,