Jul 24, 2017 · 1 min read
Hi Gyanendra
For the client code I’m using @angular/cli to bundle the code with the -prod flag, that code is bundled with AOT and Tree Shaking.
For the server code I’m using the @angular/compile-cli for AOT and webpack to bundle/transpile the server code, there is no need to uglify the server code.
But I really recommend you to try the @angular/cli@1.3.0.rc.0 Universal (experimental) support
https://medium.com/@feloy/creating-an-angular-universal-app-with-the-angular-cli-5ef26c9fd9a5
