Skip to content

Commit

Permalink
Update config.yaml
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rberneder authored and brusch committed May 26, 2021
1 parent 611c542 commit bc22a5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -134,4 +138,4 @@ framework:
# mailer:
# transports:
# main: smtp://user:pass@smtp.example.com:port
# pimcore_newsletter: smtp://user:pass@smtp.example.com:port
# pimcore_newsletter: smtp://user:pass@smtp.example.com:port

0 comments on commit bc22a5d

Please sign in to comment.