Closed
Description
This #13 issue is implemented. It solves problem which happens while using multiple Encore configurations. Now it is possible to specify as much builds as we want. But it solves "multiple configurations" problem only for CSS and JS files.
I'm using Encore.copyFiles()
to copy my static files (images, videos, etc). Documentation says that we need to use asset
component which uses json_manifest_path
. And there is no option to specify multiple manifests.
So maybe it would be a nice idea to add something like ManifestLookup
and encore_asset
function that will resolve path to the static files for us.
{{ encore_asset('images/top.jpg', 'landing') }}
{# Will print /builds/landing/images/top.hash.jpg #}
Metadata
Metadata
Assignees
Labels
No labels