website/config/packages/asset_mapper.yaml
Jeroen De Meerleer 9d3e6a4e92
Update asset mapper config for public prefix
Added a public prefix to the asset mapper settings. Now assets will be served from the 'build' directory, improving organization and access.
2025-01-21 15:43:45 +01:00

13 lines
280 B
YAML

framework:
asset_mapper:
public_prefix: '/build'
# The paths to make available to the asset mapper.
paths:
- assets/
missing_import_mode: strict
when@prod:
framework:
asset_mapper:
missing_import_mode: warn