steveblue / angular2-rollup

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

Feature/refactor build #14

Closed steveblue closed 7 years ago

steveblue commented 7 years ago

TY @jasonaden for the talk at ng-conf. This branch is almost ready to roll. Just gotta inline templates and CSS and then DONE. npm run build:lib will run the build for a library.

steveblue commented 7 years ago

@jasonaden Is the current build in ./dist what you had in mind at ng-conf for optimizing the build with inline CSS and HTML? TY for your comments!

steveblue commented 7 years ago

It looks like there's template strings in the build of the library. That shouldn't be the case. In @angular/material template and style are minified and converted to strings in both es5 and es6 builds.

steveblue commented 7 years ago