Angular · Senior · Question 70 of 75

How do you analyse which dependencies make the main bundle large?

Explanation

Common culprits are heavy libraries imported eagerly, barrel files pulling in extra code and missing lazy routes or @defer.

Further reading

Problem with a question

Angular · Senior · question 70

Test yourself

Take the Angular · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz