sasha7 / angular2-aot-demo

A demo app using Angular2 RC6 + Webpack 2 + TypeScript 2 πŸŽ‰βœ¨πŸŽŠ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A demo app using Angular2 RC6 + Webpack 2 + TypeScript 2 πŸŽ‰βœ¨πŸŽŠ


Languages

Language:JavaScript 60.0%Language:HTML 23.2%Language:TypeScript 16.8%