diff --git a/README.md b/README.md index 01b8664..dafd579 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,9 @@ Browser-safe entry that avoids Node-only dependencies. It expects `Buffer`, `Uint8Array`, or `ArrayBuffer` inputs rather than file paths. SQLite-backed formats (Snap `.sps/.spb` and TouchChat `.ce`) require a WASM -SQLite engine. Configure `sql.js` in your bundler before loading those formats: +SQLite engine. To support these, configure `sql.js` in your bundler +and either include `` in your HTML, or +`window.initSqlJs = require('sql.js');` in your app. ```ts import { configureSqlJs, SnapProcessor } from '@willwade/aac-processors/browser'; diff --git a/examples/vitedemo/index.html b/examples/vitedemo/index.html index b360e10..5cab92d 100644 --- a/examples/vitedemo/index.html +++ b/examples/vitedemo/index.html @@ -574,7 +574,6 @@