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
PsyduckOP10mo ago
Using Node and latest drizzle

Did you find this page helpful?