Skip to content

Commit 0b3dfbd

Browse files
authored
fix: importShared is not a function (#275)
1 parent 44e8f89 commit 0b3dfbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/lib/src/prod/shared-production.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function prodSharedPlugin(
8787
node.end,
8888
`const {${declaration.join(
8989
','
90-
)}} = await importShared('${sharedName}')\n`
90+
)}} = await importShared('${sharedName}');\n`
9191
)
9292
modify = true
9393
}
@@ -100,7 +100,7 @@ export function prodSharedPlugin(
100100
magicString.prepend(
101101
`import {importShared} from '${
102102
prop?.root ? '.' : ''
103-
}./__federation_fn_import.js'\n`
103+
}./__federation_fn_import.js';\n`
104104
)
105105
return {
106106
code: magicString.toString(),

0 commit comments

Comments
 (0)