We are currently unable to support and use the web3Auth package on our official docs site due to build issue within the production env.
There is currently no SvelteKit example and this would be very helpful
Steps to reproduce locally:
- Clone https://github.com/blocknative/web3-onboard/tree/develop/doc
- Switch branch to
web3Auth_docs_test
- cd
docs/
yarn
-
yarn dev
modal displays fine - kill this command yarn build
-
npm run preview
Modal doesnt load internals
Describe the solution you’d like
The Vite example doesn’t work within svelte.config.js
Describe alternatives you’ve considered
In a production build env the modal pops but is empty.
Additional context
Try it out here: https://web3-onboard-docs-git-web3authdocstest-blocknative.vercel.app/