Angular 2 AOT (Ahead Of Time) offline compilation example with Webpack and TypeScript This repository shows how to use the Angular 2 (RC6) command line offline compiler (ngc) with Webpack and TypeScript. How to Build a JIT bundle $ npm run build-jit Build an AOT bundle $ npm run build-aot Build both $ npm run demo See package.json#L5-L13 for more details.