for a browser / WASI use case this will result in an error like: `"wasi_snapshot_preview1": module is not an object or function` because triple detection is based on the build output path: https://github.com/swiftwasm/JavaScriptKit/blob/e53155dc358e85db61b7ff5b1000cb6ed4a53a2d/Plugins/PackageToJS/Sources/PackageToJS.swift#L72-L81 and `swift-build` produces different out paths like this: `.build/out/Products/Release-webassembly-wasm32/App.wasm` template variables like `IS_WASI` are no longer correctly derived https://github.com/swiftwasm/JavaScriptKit/blob/e53155dc358e85db61b7ff5b1000cb6ed4a53a2d/Plugins/PackageToJS/Sources/PackageToJS.swift#L813
Activity
sliemeobn commentedon Aug 22, 2026
fixed in #807