You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #50356 [AssetMapper] Fix bug where dependencies were preloaded even if the parent was not (weaverryan)
This PR was squashed before being merged into the 6.3 branch.
Discussion
----------
[AssetMapper] Fix bug where dependencies were preloaded even if the parent was not
| 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!
Commits
-------
feb680b [AssetMapper] Fix bug where dependencies were preloaded even if the parent was not
0 commit comments