Skip to content

Commit 2ee3f13

Browse files
author
Guy Bedford
committed
fixup
1 parent f07dd91 commit 2ee3f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/componentize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export async function componentize(jsSource, witWorld, opts) {
144144
// rewrite the JS source import specifiers to reference import wrappers
145145
let source = '',
146146
curIdx = 0;
147-
const importSpecifiers = new Set([...imports.map(([impt]) => impt)]);
147+
const importSpecifiers = new Set([...importWrappers.map(([impt]) => impt)]);
148148
for (const jsImpt of jsImports) {
149149
if (jsImpt.t !== 1 && jsImpt.t !== 2) continue;
150150
if (!jsImpt.n) continue;

0 commit comments

Comments
 (0)