Skip to content

Files

Latest commit

 

History

History

ngc-webpack

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Example of Angular2 AOT compilation with webpack and support JitCompiler.

It also allows us to use JitCompiler with AoT.

The key point here is running the Angular command line offline compiler ngc before building application

Installation

  • Clone this repo

  • Run npm i

Development

Run npm start

Production Build

Run npm run build:prod

Run npm run serve:prod to test production build