asynchronous drizzle.config.ts

Context Looking to await two asynchronous calls before doing the export of the configuration
const val = await myfunc()
const val2 = await myfunc2()

export default {
blah: val,
blah: val2
} satisfies Config;
const val = await myfunc()
const val2 = await myfunc2()

export default {
blah: val,
blah: val2
} satisfies Config;
1 Reply
Psyduck
PsyduckOP9mo ago
Using Node and latest drizzle
Want results from more Discord servers?
Add your server