Update to Angular 6

1

Update my application (previously in Angular 2) to Angular 6 and it works correctly, but when I run it locally I see this (Look in the photo) before the 'Compiled siccessfully' that did not appear before. Do you know why it appears?

    
asked by Sebastian Garcia Fischer 30.07.2018 в 17:39
source

1 answer

2

It is the output of the webpack that you have configured in your angular project. What it does is unite all your code and compile it in 6 packages javascripts basically

<script type="text/javascript" src="inline.bundle.js"></script>
<script type="text/javascript" src="polyfills.bundle.js"></script>
<script type="text/javascript" src="scripts.bundle.js"></script>
<script type="text/javascript" src="styles.bundle.js"></script>
<script type="text/javascript" src="vendor.bundle.js"></script>
<script type="text/javascript" src="main.bundle.js"></script></body>

In each one, page styles, yours code, third party code, polifills etc. are stored

For more info webpack

Greetings

    
answered by 30.07.2018 в 17:57