Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(compartment-mapper): cjs - allow overwriting exports field with define semantics #2731

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

naugtur
Copy link
Member

@naugtur naugtur commented Feb 27, 2025

  • push the less convoluted version
  • verify that a throwing getter on exports won't break Endo

The erroring getter behavior is no different than throwing an error at the top of the module.

@naugtur naugtur force-pushed the naugtur/cjs-exports-redefine branch from 0a46e6a to e1e33a8 Compare March 11, 2025 14:55
@naugtur naugtur marked this pull request as ready for review March 12, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant