Angular 2 Webpack
An Angular 2 starter kit with Webpack
Getting Started
Dependencies
- Node (>= 6.9.1)
Setup
git clone https://github.com/bellizio/angular2-webpack.git
cd angular2-webpack
npm install
Overview
This is an Angular 2 Webpack starter kit based on the official Angular Webpack guide. It includes everything detailed in the guide with a few modifications in order to incorporate the following:
- Hot Module Replacement (for development)
- Ahead-of-Time Compilation (for production)
- Sass
Scripts
Development
npm start
- builds and serves the app at localhost:8080
Production
npm run build:prod
- builds the app for production
npm run serve:prod
- builds the app for production and starts a local server at localhost:8080
Testing
npm test
- runs all unit tests