Please help. I am trying to import a typescript module in a worker in the same git repo.
https://github.com/ymolists/sbox-cflare/blob/main/server/package.json#L10
this ๐ is how i am trying to import this typescript module in the same git repo. Can anyone please tell me what i am doing droing ?
Here is the error i get when i try to run
wrangler dev
GitHub
sbox-cflare/package.json at main ยท ymolists/sbox-cflare
Contribute to ymolists/sbox-cflare development by creating an account on GitHub.
4 Replies
I confirmed that if i am using a single ts file then my import works. However in this case i am trying to import a function that is defined in a separate file. What is the recomended way to be able to import any function exported from that shared module ?
Unknown Userโข2y ago
Message Not Public
Sign In & Join Server To View
Hi @kynsonszetau . i swear i thought i did that .. and now works !!!
Thanks for the suggestion !
Unknown Userโข2y ago
Message Not Public
Sign In & Join Server To View