angular2-rollup
Advanced tools
Changelog
2.0.2
Changelog
2.0.1
.scss
filenames in component.ts
files.css
files instead of .scss
NOTE: In this release we made it possible to develop easier with @angular/cli
yet still build for production with ngr build prod
. The existing development build still works, but it is highly recommended to use ng serve
for development when possible instead of ngr build dev
. If you have been developing off angular/rollup
, upgrading to take advantage of ng serve
is relatively simple. Update all references to .css
files in your component.ts
files to .scss
. Now your application should run fine in @angular/cli
for development and the angular-rollup
production build will still honor SCSS for production.
Changelog
2.0.0
angular-rollup 2.0.0 delivers the same cli as 1.x with more powerful builds and integration with @angular/cli!
--env
argument mirrors the way @angular/cli handles environmentssrc
or dist
in ngr.config.js
vendor.js
cutting down network requests--rollup
argument will bundle with Rollup like before but now optimizes with Closure Compiler in ADVANCED_OPTIMIZATIONSbuild
directory, all builds are now output to dist
by default comparable to @angular/cli@angular/compiler-cli
directly insteadTo migrate an application running on angular-rollup 1.x or @angular/cli, the best option is to scaffold a new app with the old source.
ngr new my-new-app --src /path/to/old/src
This will migrate the src directory as well as all config from the old project to a new directory. Old configuration files will be renamed .bak
so you can compare old files against the new configuration.
These tasks didn't make the 2.0.0 release but are items I really want to include in future releases!