Skip to content

Commit e20e993

Browse files
authored
Fix transpiler (#1393)
1 parent 36164e6 commit e20e993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transpiler/transpiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export function transformImportDeclarations(
9191
prefix.push(`// ${moduleName} module`)
9292

9393
const modifiedText = nativeId
94-
? `${nativeId.name}.operators.get("wrapSourceModule")("${moduleName}", ${text}, ${REQUIRE_PROVIDER_ID})`
94+
? `${NATIVE_STORAGE_ID}.operators.get("wrapSourceModule")("${moduleName}", ${text}, ${REQUIRE_PROVIDER_ID})`
9595
: `(${text})(${REQUIRE_PROVIDER_ID})`
9696
prefix.push(`const ${namespaced} = ${modifiedText}\n`)
9797

0 commit comments

Comments
 (0)