Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[AssetMapper] Fixing bug where JSCompiler used non-absolute importmap entry path#52368

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

weaverryan
Copy link
Member

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesNone
LicenseMIT

Introduced over the weekend in#52349.

Thepath key insideimportmap.php can be a full filesystem path or it can start with./ to indicate a relative path to the root directory. That has been the case for weeks. In#52349, when start using thepath of an importmap entry to find theMappedAsset. When doing that, I didn't consider the case wherepath is a relative path.

This PR fixes that and moves the code handling this intoImportMapConfigReader so that we're not repeating it in several places.

Cheers!

@nicolas-grekasnicolas-grekasforce-pushed theasset-mapper-fix-importmap-path-conversion branch from489c790 to31d04efCompareOctober 31, 2023 07:55
@nicolas-grekas
Copy link
Member

Thank you@weaverryan.

@nicolas-grekasnicolas-grekas merged commit1781648 intosymfony:6.4Oct 31, 2023
@weaverryanweaverryan deleted the asset-mapper-fix-importmap-path-conversion branchOctober 31, 2023 13:36
This was referencedNov 10, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

3 participants
@weaverryan@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp