We have been stuck in a totally different set of tool chain for the past 2 years (namely closure tools) and finally I had the time to explore what is hew out there and what would make my development easier. I was amazed to find this project and I am shocked it has not gain enormous attention on the Internet yet. I realize most developers do not have the stagnated tool chain as me for so long and might not be as impressed but still I think this is great project.
For the last years we have accumulated dozen of reusable, highly optimized, highly portable and really self contained components derived from the projects we have developed. However those are written for the closure compiler and as such are unusable outside of a compile. I have been looking for a method to "open" those components for use in any project for several reasons, one of the primary ones being to make it more accessible to the new developers joining our teams and accustom to other set of tools. I believe this project is a perfect fit as it allows management and choice without restrains in tools.
In order all this to work I need to automate some pre-processing of the files. From the documentation I see there is a notion of hook for the component-builder. An example would be nice as I need to make sure I understand how it was designed to be used instead of making a mess out of it. Also would be great to include how to integrate it so that other devs in the team can continue to use 'component build' transparently. Initially I have a small script that needs to be run before the concatenation (to remove any traces of the closure library require and defines - Ideally this should not generate new files but instead the output should be used at the next step) and a separate case is to build typescript files - again without producing additional files if possible. A good next step would be also to run uglify in case we want to test for production. A small example of a hook from external package would be very helpful.
Also it was mentioned somewhere that more tan one build file can be produced. I am especially interested how this can be achieved with css as we have an app candidate for test project with components but it uses themes heavily and requires at least 3 separate stylesheets in which styles overlap, if those are included all in one file it would not work.
Thanks.