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 symfony#52702 [AssetMapper] Fix eager imports are not deduplicated (smnandre)
This PR was squashed before being merged into the 6.4 branch.
Discussion
----------
[AssetMapper] Fix eager imports are not deduplicated
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes ?
| New feature? | no
| Deprecations? | no
| Issues | Fix
| License | MIT
While recursively collecting eager imports, there may be duplicates.
```
app.js
L A_1.js
L B.js
L A_2.js
L B.js
```
Removing them early avoid a lot of useless computation afterwards (and eventual side effects)
Exemple with the generated app.entrypoint.json of the Symfony UX website
- before: 78 entries
- after: 53 entries
Commits
-------
e76b24b [AssetMapper] Fix eager imports are not deduplicated
0 commit comments