Skip to content

Commit c757e13

Browse files
feature #50363 [AssetMapper] Adding "path" option to importmap:require (weaverryan)
This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [AssetMapper] Adding "path" option to importmap:require | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | None | License | MIT | Doc PR | Still TODO The `path` option was added by `@dunglas` - it was always intended to be there. I forgot about it and (mostly) failed to add it. Now I've found a use-case for it when installing UX bundles (i.e. call the command to update the user's importmap with a pointer to an asset inside of the bundle). Thanks! Commits ------- a3a5472b4e [AssetMapper] Adding "path" option to importmap:require
2 parents 395f091 + 74f6713 commit c757e13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Resources/config/asset_mapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
->args([
150150
service('asset_mapper.importmap.manager'),
151151
service('asset_mapper'),
152+
param('kernel.project_dir'),
152153
])
153154
->tag('console.command')
154155

0 commit comments

Comments
 (0)