The bundle files
We see that there are bundle files for inline, main, polyfill, and vendor but they have a weird naming convention. When Angular CLI builds the code in production mode, it uglifies the content and adds the unique GUID to the filename.
If you open any of these files, you will see the content is compressed and most likely you will not be able to identify your code in the main file.
During minification process, Angular CLI performs following actions: renames all the variables with single character names, removes comments, and trims the whitespaces, all of which reduces the size of the file. The lower the size of the file, the faster the browser will be able to download and render the content. This allows an application to be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access