This repository shows how to use the Angular 2 final command line offline compiler (ngc) with Webpack and TypeScript.
Demystifying Ahead-Of-Time Compilation In Angular 2.
$ npm run build-jit
$ npm run build-aot
$ npm run demo
See package.json#L5-L13 for more details.