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

chore(ci): Create web bundle for aztec.js #3864

Open
Tracked by #8881
spalladino opened this issue Jan 5, 2024 · 0 comments
Open
Tracked by #8881

chore(ci): Create web bundle for aztec.js #3864

spalladino opened this issue Jan 5, 2024 · 0 comments
Labels
A-devops Area: Devops. E.g. CI / build systems S-needs-discussion Status: Still needs more discussion before work can start.

Comments

@spalladino
Copy link
Collaborator

For context, back in July a webpack step was added to the aztec.js build script, and the resulting main.js bundle was included in the package and exported for browser consumption. In v0.16.2, I believe here, the build:web step for aztec.js was removed, so 0.16.2 no longer had the main.js as part of it (0.16.1 still did). And later the browser entrypoint was removed altogether from the package.json.

It seems this web bundle was unused in web apps like the boxes, since those imported aztec.js and bundled them via their own webpack builds, which is how we expect most users to load apps. Still, aztecjs requires some polyfills that may not be straightforward to set up.

We should evaluate whether to ship a pre-built aztecjs bundle for the web, so users can directly import it from a page and use it directly, without any processing step needed.

@spalladino spalladino added A-devops Area: Devops. E.g. CI / build systems S-needs-discussion Status: Still needs more discussion before work can start. labels Jan 5, 2024
@github-project-automation github-project-automation bot moved this to Todo in A3 Jan 5, 2024
@spalladino spalladino changed the title Create web bundle for aztec.js ci: Create web bundle for aztec.js Aug 26, 2024
@spalladino spalladino changed the title ci: Create web bundle for aztec.js chore(ci): Create web bundle for aztec.js Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-devops Area: Devops. E.g. CI / build systems S-needs-discussion Status: Still needs more discussion before work can start.
Projects
Status: Todo
Development

No branches or pull requests

1 participant