swiftwasm / WebAPIKit

Access the DOM and other Web APIs from Swift! (Very much a WIP)
MIT License
61 stars 8 forks source link

Split WebAPIKit into modules manually #46

Closed MaxDesiatov closed 2 years ago

MaxDesiatov commented 2 years ago

New Module type is added that specifies dependencies between modules manually.

More advanced approaches could be implemented in the future. For example, automated dependency resolution as investigated in https://github.com/swiftwasm/WebAPIKit/pull/30.

Partially resolves #14.

MaxDesiatov commented 2 years ago

While this builds and runs without failure right now, it still needs tweaking to avoid duplication of property wrappers and strings across modules.