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

feat: Create a vite box #10114

Closed
Tracked by #8881
critesjosh opened this issue Nov 21, 2024 · 3 comments
Closed
Tracked by #8881

feat: Create a vite box #10114

critesjosh opened this issue Nov 21, 2024 · 3 comments
Assignees

Comments

@critesjosh
Copy link
Contributor

Create a vite box to be included alongside the other boxes.

This will help us tackle and discover solutions for some of these browser issues and help prevent regressions.

@critesjosh
Copy link
Contributor Author

there is a WIP one on this branch https://github.com/AztecProtocol/aztec-packages/tree/gj/pxe_in_the_browser

@critesjosh
Copy link
Contributor Author

closing in favor of grego's work. may re-open if needed

@olehmisar
Copy link
Contributor

@critesjosh

FYI, I was able to use aztec.js without node polyfillls.

I only had to include this code before I imported aztec.js

import { Buffer } from "buffer"
globalThis.Buffer ??= Buffer
globalThis.process ??= { env: {} }

Can aztec engineers import Buffer in every file they use it? It’s one of the last things needed to make aztec.js work in browser without polyfills

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

3 participants