From bc22a5d60b33405cf351b8b355dcc8206994dd35 Mon Sep 17 00:00:00 2001 From: Roland Berneder Date: Wed, 26 May 2021 13:51:19 +0200 Subject: [PATCH] Update config.yaml When using Symfony Encore, asset filenames can have versioning file suffixes. When using the symfony/asset twig extension, the files can be found without versioning suffix (usually in DEV mode). When versioning is enabled (PROD environment) the files cannot be located anymore, when the location of the manifest.json is not configured. --- config/config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/config.yaml b/config/config.yaml index 74c4df2e4..1bb258be7 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -116,6 +116,10 @@ pimcore: #### SYMFONY OVERRIDES framework: +#### DEFINE LOCATION OF MANIFEST WHEN WORKING WITH SYMFONY ENCORE +# assets: +# json_manifest_path: '%kernel.project_dir%/public/build/manifest.json' + #### USE CUSTOM CACHE POOL # cache: # pools: @@ -134,4 +138,4 @@ framework: # mailer: # transports: # main: smtp://user:pass@smtp.example.com:port -# pimcore_newsletter: smtp://user:pass@smtp.example.com:port \ No newline at end of file +# pimcore_newsletter: smtp://user:pass@smtp.example.com:port