AOT Compilation succeeds - but still the `Compiler` package included?


#1

I’m invoking :

npm run ns-bundle --android --build-app --uglify

It does succeed , (here is the complete log).

If I go to the report folder (from webpack-bundle-size-analyzer) - I see those two files :

image

Opening the html file shows :

As you can see ,the compiler from @angular is still there !!!

Questions

  1. Why does the compiler still there ? (AOT should remove it). How do I remove it ?
  2. If I hover the bundle.js section it shows me parsed size. so what is stat/parsed size ?

Additional info :

I must say that when I search bundle.js in filesystem - I see two files:

And the second one :


webpack.config.json : http://jsbin.com/varetibaya/1/edit?html
package.json : http://jsbin.com/sajifojuki/edit?html
main.aot.file : http://jsbin.com/jimonurama/edit?html
ts.config.aot : http://jsbin.com/tatahesoma/edit?html