You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am working on a project using Sveltekit-Lucia, which uses crypto. I cannot deploy this to cloudflare as crypto is not in their available libraries, so I was hoping that a polyfill would solve this, however I cannot figure where in the applicaiton to call the function.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In the documentation there is a seciton on the ability to add polyfills too Sveltekit (https://kit.svelte.dev/docs/modules#sveltejs-kit-node-polyfills), however it isn't very clear how this is actually done.
Currently I am working on a project using Sveltekit-Lucia, which uses crypto. I cannot deploy this to cloudflare as crypto is not in their available libraries, so I was hoping that a polyfill would solve this, however I cannot figure where in the applicaiton to call the function.
Beta Was this translation helpful? Give feedback.
All reactions