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

Increase initial budget #306

Open
FranSlot opened this issue Aug 10, 2023 · 3 comments · Fixed by AmpersandTarski/prototype#154
Open

Increase initial budget #306

FranSlot opened this issue Aug 10, 2023 · 3 comments · Fixed by AmpersandTarski/prototype#154
Assignees
Labels

Comments

@FranSlot
Copy link
Contributor

RUN npx ng build in RAP4 causes initial budget exceeded errors.

Increase the budget to get rid of this.

@FranSlot FranSlot added the RAP5 label Aug 10, 2023
@FranSlot FranSlot self-assigned this Aug 10, 2023
@FranSlot FranSlot added this to A-team Aug 10, 2023
@FranSlot FranSlot moved this to In Progress in A-team Aug 10, 2023
@FranSlot FranSlot linked a pull request Aug 10, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from In Progress to Done in A-team Aug 10, 2023
@Michiel-s
Copy link
Member

Michiel-s commented Aug 11, 2023

I do think that a bundle of 5mb (the new limit you set) is too large. I suggest first doubling the default from 1 to 2 mb and let's try to keep within that boundary. Additional modules (like the new ACE editor replacement) can also be loaded as separate bundles (lazy loading).

See different articles on how to reduce/optimize bundle size and do lazy loading where needed.

@Michiel-s Michiel-s reopened this Aug 11, 2023
@github-project-automation github-project-automation bot moved this from Done to In Progress in A-team Aug 11, 2023
@stefjoosten
Copy link
Contributor

@FranSlot can we close this issue?

@FranSlot
Copy link
Contributor Author

@FranSlot can we close this issue?

This was done while trying to make a new dockerfile for RAP using the new frontend. During the processing an error occured that mentioned the initial budget was to small. With the new work Klaas and Michiel are doing this might not be needed anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants