Skip to content

Conversation

@krodak
Copy link
Member

@krodak krodak commented Nov 19, 2025

Introduction

First part of improvements to address #451 and discussions from: #448 (comment)

Overview

  • Namespacing structure is properly reflected in Exports
  • Access to namespaced static properties is finally available via Exports
  • Static properties implementation is improved; Object.defineProperty now only global this only references export's implementation

Testing

Some additional tests to check extended exports access

Next steps

Next PR will include:

  • optional namespace global
  • { "exposeToGlobal": true } in bridge-js.config.json

@krodak krodak self-assigned this Nov 19, 2025
Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The generated code is well aligned with my expectations, thanks!

@krodak krodak merged commit 3ff42c3 into swiftwasm:main Nov 19, 2025
14 of 18 checks passed
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.

2 participants