diff --git a/.changeset/gentle-olives-hope.md b/.changeset/gentle-olives-hope.md new file mode 100644 index 00000000..de64cab8 --- /dev/null +++ b/.changeset/gentle-olives-hope.md @@ -0,0 +1,5 @@ +--- +'@electric-sql/pglite': patch +--- + +Make pglite compatible with @jest-environment: node diff --git a/packages/pglite/src/postgresMod.ts b/packages/pglite/src/postgresMod.ts index 5eb7a1ea..845a0ee7 100644 --- a/packages/pglite/src/postgresMod.ts +++ b/packages/pglite/src/postgresMod.ts @@ -1,4 +1,4 @@ -import PostgresModFactory from '../release/postgres.js' +import PostgresModFactory from '../release/postgres' type IDBFS = Emscripten.FileSystemType & { quit: () => void