ymc/asset-bundle

There is no license information available for the latest version (1.0.0) of this package.

1.0.0 2017-01-25 16:48 UTC

This package is auto-updated.

Last update: 2025-06-23 17:40:57 UTC


README

Useful Symfony && gulp stuff

gulp-rev support

Overrides Twig's asset() function to look up the versioned asset path in a gulp-rev manifest first. If the manifest file doesn't exists or if the asset is not in it, it leaves the asset path alone.

It also support multiple manifest files, by both using a Glob in the file path and/or specifing multiple manifest files.

Configuration

ymc_asset:
    gulp_rev:
        enabled: true
        manifest_files:
            - %kernel.root_dir%/../web/rev-manifest.json