Skip to content

Conversation

rkistner
Copy link

Instead of using a submodule, this now uses the pre-built libpowersync-wasm.a from powersync-ja/powersync-sqlite-core#35.

This simplifies the build, and removes the need for workarounds previously used in powersync-sqlite-core for WASM builds. The resulting build is also slightly smaller (889K -> 850K).

In the future, we can also use this approach to build against a matrix of powersync-sqlite-core versions, instead of just the latest one.

@rkistner rkistner requested a review from mugikhan October 14, 2024 11:51
Copy link

@mugikhan mugikhan left a comment

Choose a reason for hiding this comment

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

LGTM.

@rkistner rkistner merged commit 4b7244f into main Oct 22, 2024
27 checks passed
@rkistner rkistner deleted the static-lib branch October 22, 2024 07:26
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