Install Development Snapshot toolchain DEVELOPMENT-SNAPSHOT-2024-07-08-a from swift.org/install and run the following commands:
$ swift sdk install https://github.com/swiftwasm/swift/releases/download/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a/swift-wasm-DEVELOPMENT-SNAPSHOT-2024-07-09-a-wasm32-unknown-wasi.artifactbundle.zip
$ ./build.sh
$ npx serveYou need to re-generate files under Sources/Generated when you make changes to bridged interfaces:
$ swift package plugin --allow-writing-to-package-directory bridge-js