marclaval / optimize-angular-app

Let's optimize an Angular application for production
http://mlaval.github.io/optimize-angular-app/
MIT License
57 stars 7 forks source link

Build Status

optimize-angular-app

Let's optimize an Angular application for production.

This repository shows how to apply a number of techniques on a technical demo application. This includes bundling, tree shaking, ahead of time compilation, lazy loading and pre-rendering with universal.

You can build the demo yourself, or check it at: http://mlaval.github.io/optimize-angular-app/

This projects was used for a presentation at angular-up in 2016: slides and video

Running scripts

Step by step

The build task executes a number of independent steps which can be executed separately if needed:

Development

To develop the application itself, here is the workflow:

To run integration tests:

To generate a performance report: