mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-05 04:27:09 +00:00
fix(folio-core): wire kotlinx-browser so wasmJs DriverFactory compiles
org.w3c.dom.Worker on wasmJs lives in kotlinx-browser, not the stdlib. Pin 0.5.0 alongside the @sqlite.org/sqlite-wasm 3.53.0-build1 version that the upcoming web app will depend on, and switch the worker constructor to the module-worker form that webpack expects.
This commit is contained in:
1 parent
7187790592
commit
3761a18c75
3 files changed
+10
-4
No files matched your search
@@ -43,6 +43,7 @@ kotlin {
|
||||
}
|
||||
wasmJsMain.dependencies {
|
||||
implementation(libs.sqldelight.web.worker.driver)
|
||||
implementation(libs.kotlinx.browser)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user