0

My angular.json file gets architect.build.options.budgets configuration:

[
          {
            "type": "initial",
            "maximumWarning": "500kb",
            "maximumError": "1mb"
          },
          {
            "type": "anyComponentStyle",
            "maximumWarning": "20kb",
            "maximumError": "80kb"
          }
        ]

But I still get warnings about budget for less files:

map.component.less exceeded maximum budget. Budget 2.00 kB was not met by 71.33 kB with a total of 73.33 kB.

2kb default warning setting seems to be still active. What do I miss?

1
  • 1
    My bad, a second "budget" section exists in "production" section, this is the explanation...
    – Peanuts-83
    Commented Apr 20 at 17:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.