Skip to content

Commit

Permalink
feat(compartment-mapper): Bundles evaluate to entrypoint namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Nov 10, 2022
1 parent 342afa8 commit 85a69aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/compartment-mapper/NEWS.md
Expand Up @@ -2,6 +2,7 @@ User-visible changes to the compartment mapper:

# Next release

- Bundles now evaluate to their entrypoint module's namespace object.
- Removes support for `globalLexicals`.

# 0.7.7 (2022-06-28)
Expand Down
2 changes: 2 additions & 0 deletions packages/compartment-mapper/src/bundle.js
Expand Up @@ -337,6 +337,8 @@ ${importsCellSetter(__fixedExportMap__, index)}\
`,
),
)}\
return cells[cells.length - 1]['*'].get();
})();
`;

Expand Down

0 comments on commit 85a69aa

Please sign in to comment.