AmpersandTarski / RAP

RAP is a tool that lets you analyse Ampersand models, generate functional specifications and make prototypes of information systems. It is the primary tool for students of the Open University of the Netherlands in the course Rule Based Design.
5 stars 3 forks source link

Increase initial budget #306

Open FranSlot opened 1 year ago

FranSlot commented 1 year ago

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

Increase the budget to get rid of this.

Michiel-s commented 1 year ago

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.

stefjoosten commented 6 months ago

@FranSlot can we close this issue?

FranSlot commented 6 months ago

@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.