Rollup or Webpack is currently the safest choice when picking an application bundler. Both are great bundlers with lots of benefits.
The Closure compiler is still experimental wrt Angular, but the Angular team has made great progress. At the time of writing the latest release is not compatible with the Closure compiler. However, Alex Eagle has made a custom, Closure compatible, build of Angular and RxJs. I am using a fork of his project for my Closure compiler example.
In the following section I will create builds of my sample application using Rollup, Webpack and the Closure compiler.
I don't want to put any of the frameworks at a disadvantage, so here are the configurations used:
... read the whole story at www.syntaxsuccess.com.