Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
34
rated 0 times [  41] [ 7]  / answers: 1 / hits: 51646  / 6 Years ago, tue, july 10, 2018, 12:00:00

Angular CLI creates vendor.js and I don't know Why and What is the use of it?? Size of this file is about 3.2MB for a new app!!



Does this file contains Angular 6 Javascript Source?



Don't you think this is big file for loading on internet on low speed connections?


More From » angular

 Answers
17

This file includes all libraries that you added into your project. If you build your app on production mode the file size will be smaller.


ng build --prod

[#54022] Thursday, July 5, 2018, 6 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
andreguym

Total Points: 125
Total Questions: 112
Total Answers: 103

Location: Wallis and Futuna
Member since Tue, Mar 30, 2021
3 Years ago
;