Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed May 3, 2024
1 parent d5e9f01 commit d1ef2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/virtual-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function decodeVirtualExternalESModule(filename: string): { moduleName: string;
if (nameString) {
exports = nameString.split(',');
}
let moduleName = component[0]s.slice(externalESPrefix.length);
let moduleName = components[0].slice(externalESPrefix.length);
return { moduleName, exports };
}
}
Expand Down

0 comments on commit d1ef2a3

Please sign in to comment.