Registry / devops / angular-rollup

angular-rollup

JSON →
library2.0.5jsnpmunverified

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-rollup
INSTALL
IMPORT
SIG · ANGULAR-ROLLUP
A
angular-rollup
devopsjavascriptv2.0.5
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import angularRollup from 'angular-rollup'
const angularRollup = require('angular-rollup')
Package is CLI tool with binary 'ngr'; programmatic usage is not documented. Default import may not work as expected.

Installs the CLI globally, scaffolds a new Angular app, and builds for production with Closure Compiler.

npm install -g angular-rollup @angular/cli ngr new my-app cd my-app ngr build prod
ngr --version
Debug
Known issues
gotchaRequires Java JDK 8+ installed on system for Closure Compiler. Missing Java leads to obscure errors.
fix
Install Java JDK from https://www.oracle.com/java/technologies/javase/jdk8-downloads.html
affects: >=0.0.0
deprecatedPackage is unmaintained; last release 2018. May not work with Angular versions >5 or Node >8.
fix
Migrate to @angular/cli with Angular CLI's production build (--prod) which includes optimization.
affects: >=0.0.0
gotchaGlobal install required; 'ngr' command will not be found if @angular/cli is not also installed globally.
fix
Ensure @angular/cli is globally installed alongside angular-rollup.
affects: >=0.0.0
gotchaBuild command 'ngr build prod' may fail if environment.ts is not properly configured or missing.
fix
Ensure environment files exist in src/environments/ or use --env to specify path.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module '@angular/cli'
@angular/cli not installed globally.
fix
Run: npm install -g @angular/cli
'ngr' is not recognized as an internal or external command
angular-rollup not installed globally or not in PATH.
fix
Run: npm install -g angular-rollup. On Windows, restart terminal after install.
Error: Java not found. Please install Java JDK 8 or higher.
Java runtime missing for Closure Compiler.
fix
Install Java JDK 8+ and ensure java is in PATH.
Upgrade
Version history
2.0.5latest on npm
Audit
Dependencies
@angular/clirequiredExtends @angular/cli commands and requires it to be installed globally.
javarequiredClosure Compiler requires Java JDK 8+ to be installed on the system.
Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
angular-rollup — npm install angular-rollup · libregistry