You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, I'm happy to make that change. I've seen similar things before although of the top of my head I'm not sure what triggers it (I tempted to blame CJS vs EMS...)
Hello 馃憢,
I'm experimenting with
pglite
for an upcoming adapter for@snaplet/seed
.I'm not exactly sure why, but
default
is undefined when it hits this line:pglite/packages/pglite/src/utils.ts
Line 11 in a889520
My setup is quite complicated as I define the
PGlite()
connection within a TypeScript configuration file loaded through https://github.com/unjs/c12 馃槄But everything seems to work if I remove
default
and directly consumecreateRequire
like this:Do you think it would be possible to have a fallback so it works in both cases:
The text was updated successfully, but these errors were encountered: