Skip to content Skip to sidebar Skip to footer

Why Are Runtime.js, Styles.js Created On Ng Serve Command

Greetings fellow programmers I am new to angular and I wanted to know why are these two files created when I run ng serve command. these are the files I know why other 3 files are

Solution 1:

I am not good in explanation but let me give my understanding on these things. Its basically webpack (AOT compailer) configuration which continuously watch your changes on code, if change detect its compile all files and convert in minimized version.

  1. runtime.js : Contains all files (Component, module, services, pipes, etc.) convert into js and transform into minimized version.
  2. styles.js : same for css files.

i hope you get idea from this.


Post a Comment for "Why Are Runtime.js, Styles.js Created On Ng Serve Command"