Skip to content

Commit 6c43cb8

Browse files
authored
Merge pull request #1347 from Kocal/asset-mapper-strict-mode-dev
[AssetMapper] Re-configure "missing_import_mode" in prod/non-prod envs
2 parents 4dbcd95 + ab0209c commit 6c43cb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

symfony/asset-mapper/6.4/config/packages/asset_mapper.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ framework:
33
# The paths to make available to the asset mapper.
44
paths:
55
- assets/
6+
missing_import_mode: strict
7+
8+
when@prod:
9+
framework:
10+
asset_mapper:
11+
missing_import_mode: warn

0 commit comments

Comments
 (0)