When running my Kotlin/Wasm target in the browser,...
# squarelibraries
y
When running my Kotlin/Wasm target in the browser, I encounter Webpack errors (the application works correctly on Android, desktop, and iOS targets). Below is my SQLDelight Wasm Gradle configuration and the error details: wasmJsMain.dependencies {
Copy code
implementation(libs.sqldelight.web.driver)
    implementation(npm("sql.js", libs.versions.sqlJs.get()))
    implementation(npm("@cashapp/sqldelight-sqljs-worker", "2.1.0"))
    implementation(devNpm("copy-webpack-plugin", libs.versions.webPackPlugin.get()))
}
👀 1
b
✅ 1