jandc/asset-manager

Library to combine and mangle your assets and version them

1.2.6 2018-03-12 11:21 UTC

README

Library to combine and mangle your assets and version them. For now only JavaScript is supported.

Usage

You can use the assetManager class out of the box, or register the Twig Extension to your twig environment. Notably you can use the 'manglejs'/'endmanglejs' tags to encapsulate inline javascript in your template to mangle and minify them

Dependencies

If you enable loadJS please include the loadJS library in your <head></head>.