assetman - Assetman burns countless cycles and makes your deploys take forever

  •        0

Assetman can be used by grouping your static assets into "assetblocks" to be compiled together. These asset blocks look like this: {% apply assetman.include_js %} path/to/utils.js path/to/lib.js path/to/main.js {% end %}The given paths are relative to the `static_url_prefix` setting. There arecomparable `include_css` and `include_less` helpers available in every template. There is no limit on the number of assetman blocks that can be included in a template.When a template with asset blocks is rendered, Assetman decides what staticincludes to render in the template.Assetman also provides a replacement for the built in tornado `static_url` helper that is used the same way: {{ assetman.static_url('path/to/asset.jpg') }}If you use the built in `static_url` function, an error will be raised.

https://github.com/bitly/assetman

Tags
Implementation
License
Platform

   

comments powered by Disqus


Related Projects







Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.

Tag Cloud >>