You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 #}
The text was updated successfully, but these errors were encountered:
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 useasset
component which usesjson_manifest_path
. And there is no option to specify multiple manifests.So maybe it would be a nice idea to add something like
ManifestLookup
andencore_asset
function that will resolve path to the static files for us.The text was updated successfully, but these errors were encountered: