steveblue / angular2-rollup

CLI for bundling Angular with Rollup and Closure Compiler
121 stars 18 forks source link

Should work with latest 4.0.0 #12

Closed steveblue closed 7 years ago

steveblue commented 7 years ago

Has anyone updated their project based off this starter to track @angular/2.4.8 and 4.0.0-rc1 yet? If so, please contribute Pull Request with updated Rollup config and package.json.

steveblue commented 7 years ago

Merged in working 2.4.8 release, still trying to figure out why Rollup will not parse Angular 4.0.0 modules, other than possibly it doesn't like Angular's minification scheme.

steveblue commented 7 years ago

Filed issue with Angular team. Seems like this repo may not be the only one effected by the way 4.0.0 modules are distributed. #https://github.com/angular/angular/issues/14754

steveblue commented 7 years ago

Updated to 4.0.0-rc2 and the prod build works again, so closing this issue. If you want to use 4.0.0 in beta then reference the feature/4.0.0-rc2 branch until it is merged into master. There are warnings from Angular source after ClosureCompiler runs. I filed another issue with Angular team https://github.com/angular/angular/issues/14930