bowerstatic
bowerstatic copied to clipboard
Serve Bower-managed static resources using WSGI
The patch solves the problem, but maybe there are better possibilities to differentiate between inline and url renderer.
We should complain when no inclusion is possible, i.e `` is missing or `` when we allow inclusion of script tags there.
We need to generate API documentation in our sphinx documentation. For this we need to add the appropriate docstrings to the API too.
Minified versions of files are not included in bower.json. Generating minified versions is left to the publisher (ie bowerstatic), if I understand it right. Do we want a feature (https://github.com/bower/bower/search?p=1&q=minified&type=Issues)...
Javascript can be included at the bottom. When you register a component, you can define that it (ie all javascript in it) have to be included at the bottom. See...
When a minified version of a resource exists (in same path, just with '.min' just in front of the extension) , that resource is added to the collection and it...
For some .js files, it's better to include them at the bottom of the html file. Do we want that feature in bowerstatic?
The autoversion strategy is now configurable through the Bower object, but we haven't documented this. We need to do so, probably in the API docs which we still need to...
See here: https://stackoverflow.com/questions/2669690/why-does-google-prepend-while1-to-their-json-responses?rq=1 A way to globally replace the render_json behavior would be useful. Perhaps render_json needs to be looked up in the registry....
We should be able to override the standard renderers defined on the bower with more specific ones in the component collection.