Skip to content

Conversation

@weaverryan
Copy link
Member

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets None
License MIT
Doc PR Still TODO

In importmap.php, if you have preload => false for an assets... but that asset imports another assets, we would always list that imported asset as "preload => true". Basically, when looking at a dependency to determine if it should be preloaded, we need to first look at the parent to see if IT was preloaded.

Cheers!

@weaverryan weaverryan force-pushed the asset-mapper-fix-preload-dependencies branch from be67a07 to 65dd360 Compare May 19, 2023 10:18
@nicolas-grekas nicolas-grekas force-pushed the asset-mapper-fix-preload-dependencies branch from 65dd360 to feb680b Compare May 19, 2023 11:59
@nicolas-grekas
Copy link
Member

Thank you @weaverryan.

@nicolas-grekas nicolas-grekas merged commit 54a3b84 into symfony:6.3 May 19, 2023
@weaverryan weaverryan deleted the asset-mapper-fix-preload-dependencies branch May 19, 2023 17:41
@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.

3 participants