Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
calebeby committed Jul 23, 2024
1 parent c2f4405 commit c8ca3db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/module-server/bundle-npm-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export const bundleNpmModule = async (
},
load(id) {
if (id === virtualEntry) {
const code = `export * from '${mod}'
export {${namedExports.join(', ')}} from '${mod}'
const code = `export * from ${JSON.stringify(mod)}
export {${namedExports.join(', ')}} from ${JSON.stringify(mod)}
export { default } from '${mod}'`;
return code;
}
Expand Down

0 comments on commit c8ca3db

Please sign in to comment.