Closed kilobyte2007 closed 7 months ago
Made it work by importing it like this, but it's probably a mistake in the build process:
import { redis } from '@rlanz/bus/drivers/redis'
Hey @kilobyte2007! 👋🏻
Is TypeScript screaming at you when doing the import or the code really does not work?
Hi @RomainLanz ,
It doesn't work and when I look at the source code there's indeed no such export. Seems to me like the transmits.ts
file is not bundled.
You can see here that the transmits.ts
file is not in the bundle - https://www.npmjs.com/package/@adonisjs/transmit
Should be good with 0.4.2
. 👍🏻
That was quick! Works like a charm, thanks a lot!
Cool! Let me know if you have any other issues or questions!
I do have one but I will open a separate issue for that one.
Package version
0.4.1
Describe the bug
The docs specify that I can import redis as a transport like this:
but there's no such export in the transmit package. Is this a documentation mistake?
Also in another example, redis is imported like this (which is also not working):
Reproduction repo
No response