-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add closure-compiler #2
Comments
Very interesting, I'll give it a try |
Note also, we have a nearly identical setup in an Angular integration test: https://github.com/angular/angular/tree/master/integration/hello_world__closure The difference is the alexeagle/ one has zone.js as a separate |
Done, and the results are quite impressive!
I'll keep the issue opened to share more details about what I did and get some feedback about it. |
Here is what I did:
Known issues:
Questions:
|
Thank you for integrating this and gathering the results! Build script: alexeagle/closure-compiler-angular-bundling#11
the 100-component-line issue is really interesting, any idea which tool is doing the wrong thing? we should file a bug for it. rxjs dep: I'm attending their team meeting on Monday to figure out how they can publish the distro we need. In the meantime, a nicer way to do this could be: add rxjs as a git submodule and build it in an size improvements: Misko is looking at how to trim ergonomic improvements: there should be better clues to help avoid things like renaming bugs. Can we discuss more what things would be the most useful? lazy loading: absolutely, Splittable does this with closure compiler, I've started to look at how to wire these together. |
I've managed to add the lazy loading with closure compiler case through #4 For documentation purpose, here the steps involved in the build process:
On top of that, I've reused the I'm not sure if it is the best that can be done, but it works and the result is coherent. |
https://github.com/alexeagle/closure-compiler-angular-bundling is now pretty mature. One of us should add such an app to your benchmark so we can compare.
The text was updated successfully, but these errors were encountered: