CLI tool for building Angular applications with Rollup and Closure Compiler, extending @angular/cli. Version 2.0.5 (last release) targets Angular 2+ projects, offering optimized production builds via Closure Compiler or Rollup. Key differentiators include integration with @angular/cli, Angular Package Format library builds, and an Express server. Low release cadence; effectively replaced by Angular CLI's built-in optimization and Ivy. Suitable for legacy Angular builds needing minimal bundle sizes.
npm install angular-rollupVerified import paths — ran on the pinned version, not inferred.
Installs the CLI globally, scaffolds a new Angular app, and builds for production with Closure Compiler.
Install Java JDK from https://www.oracle.com/java/technologies/javase/jdk8-downloads.html
Migrate to @angular/cli with Angular CLI's production build (--prod) which includes optimization.
Ensure @angular/cli is globally installed alongside angular-rollup.
Ensure environment files exist in src/environments/ or use --env to specify path.
Run: npm install -g @angular/cli
Run: npm install -g angular-rollup. On Windows, restart terminal after install.
Install Java JDK 8+ and ensure java is in PATH.