Well, I'd like to combine every possible resource for a Component into one component-preload.js file.
It works quite well with JavaScript files (concatinate them or use uglify-js) but there seems to be no way to include the source of XMLViews into these javascript files.
I worked around that using a tiny workaround (monkey-patching View.prototype_initCompositeSupport and set viewContent to a correct value, deleting viewName) but thats kind of ugly and by no way official.
I'd like to know if there will be a official way to do this because, looking at the code, currently this seems to be impossible.