Skip to content

Sumeet001/angular2-rollup-starter

 
 

Repository files navigation

Angular2 + Rollupjs

Build Status

Angular2 Rollup Seed

Angular2 starter seed based on Rollup and BrowserSync. Production builds including AoT steps.

Start

First, clone this repository.

git clone https://github.com/jkuri/angular2-rollup-starter.git

Move into cloned directory and run

npm install

Usage

Serve

npm run serve

Note Initial load takes some time so vendor files are generated. Then it runs like a charm with cached builds which happens to be really fast.

This serves your app with live-reload enabled.

Production Build

Production builds automatically includes AoT (Ahead of Time) compilation steps.

npm run roll

SASS Support

This starter comes with integrated SASS support. Just rename src/styles/app.css to src/styles/app.sass and that file will serves as the entry point. Any other .sass files should be imported into main app.sass. This is hardcoded for now, but can change in the future for more flexible style alignement.

About

Angular2 Rollup.js Starter with AoT production builds

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 70.0%
  • JavaScript 28.1%
  • HTML 1.9%