website/config/packages/asset_mapper.yaml
Jeroen De Meerleer ba99bda4b0
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 14:46:42 +01:00

13 lines
279 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