Is there any additional setup needed to get FTS5 t...
# squarelibraries
s
Is there any additional setup needed to get FTS5 to work when using sqldelight with wasm/js?
WebWorkerException: {"message":"no such module: fts5","name":"Error"}
Copy code
implementation(libs.sqldelight.webWorker)
implementation(npm("@cashapp/sqldelight-sqljs-worker", "2.3.2"))
implementation(npm("sql.js", "1.8.0"))
implementation(devNpm("copy-webpack-plugin", "9.1.0"))
d
sql.js doesn't come with FTS5 enabled. You have to substitute it for a build that does.
s
I see. do you know off the top of your head which one does, or will I likely have to build it myself. the docs about fts5 made it look like it should be supported out of the box.