Skip to content

increase css maximum budget#1823

Merged
lyubov-voloshko merged 2 commits into
mainfrom
fix-css-budget
Jun 3, 2026
Merged

increase css maximum budget#1823
lyubov-voloshko merged 2 commits into
mainfrom
fix-css-budget

Conversation

@lyubov-voloshko

@lyubov-voloshko lyubov-voloshko commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Updated build configuration thresholds to accommodate larger bundle sizes in production environments.

Copilot AI review requested due to automatic review settings June 3, 2026 05:50
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 6fb86cec-67f2-484e-996a-64f2ef91914a

📥 Commits

Reviewing files that changed from the base of the PR and between 1bf3da0 and f074468.

📒 Files selected for processing (1)
  • frontend/angular.json

📝 Walkthrough

Walkthrough

Bundle size thresholds in the Angular build configuration are increased across two build targets. The production and saas-production configurations each raise their initial bundle size warning limit from 10kb to 20kb and error limit from 20kb to 32kb.

Changes

Build Budget Configuration

Layer / File(s) Summary
Initial bundle size budget thresholds
frontend/angular.json
The budgets.initial maximumWarning and maximumError thresholds are increased from 10kb/20kb to 20kb/32kb in both production and saas-production build configurations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A bundle grows, the budgets rise,
Twenty, thirty-two for size,
Production paths now have more room,
No warnings in the Angular loom! 🎯✨

🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'increase css maximum budget' directly addresses the main change: increasing bundle size budget thresholds in angular.json for CSS.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Security Check ✅ Passed PR only modifies angular.json bundle budgets. No code changes, no dependencies added, all security settings (optimization, hashing, licensing) remain enabled, and no malicious patterns detected.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-css-budget

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@lyubov-voloshko lyubov-voloshko enabled auto-merge June 3, 2026 05:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts Angular build budget thresholds to allow larger component-level CSS/SCSS bundles without triggering warnings/errors during production builds.

Changes:

  • Increased anyComponentStyle budget warning threshold from 10kb to 20kb for the production build configuration.
  • Increased anyComponentStyle budget warning threshold from 10kb to 20kb for the saas-production build configuration.
  • Increased anyComponentStyle budget error threshold from 20kb to 32kb for both configurations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lyubov-voloshko lyubov-voloshko merged commit 1c451e7 into main Jun 3, 2026
15 of 16 checks passed
@lyubov-voloshko lyubov-voloshko deleted the fix-css-budget branch June 3, 2026 05:53
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

Successfully merging this pull request may close these issues.

2 participants