Skip to content

[AssetMapper] Adding "path" option to importmap:require #50363

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2023

Conversation

weaverryan
Copy link
Member

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!

@nicolas-grekas nicolas-grekas force-pushed the import-map-require-path branch from b655ab7 to a3a5472 Compare May 19, 2023 08:29
@nicolas-grekas
Copy link
Member

Thank you @weaverryan.

@nicolas-grekas nicolas-grekas merged commit 8355439 into symfony:6.3 May 19, 2023
@weaverryan weaverryan deleted the import-map-require-path branch May 19, 2023 10:24
@fabpot fabpot mentioned this pull request May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants