How would I do require('googleapis') in a worker?
My question is pretty straightforward:
How would I do
In a worker?
5 Replies
Is this even possible within workers?
Have you installed the googleapis npm package?
how would I do that within a worker?
Where are you editing your worker? If you are using quick edit then you can’t as it doesn’t support importing packages. You need to be using wrangler for it
I just now realised that thank you! Using wrangler and it works wonderfully.
The quick edit doesn't allow file creation even though they show up in the UI
It took me a while to realise that
I guess this issue is solved! Thanks