Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vite browser example #202

Open
0-don opened this issue Apr 17, 2024 · 1 comment
Open

vite browser example #202

0-don opened this issue Apr 17, 2024 · 1 comment

Comments

@0-don
Copy link

0-don commented Apr 17, 2024

I created a vite example but only for the simple parts like creating a wallet

https://github.com/0-don/xmr-vite-sample-app

@trasherdk
Copy link
Contributor

Cool. This works.

I have tested the vite preview and serving dist directory by Apache server.

Firefox is bitching about missing monero_web_worker.js.map but adding that in vite.config.ts adds ~7 MB to the already painful download.

It's 5MB without .map and 13MB with .map.

Let's see if we can get this thing to run in a sveltekit app 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants