-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #51880 [AssetMapper] Fix entrypoint scripts are not preloaded (sm…
…nandre) This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [AssetMapper] Fix entrypoint scripts are not preloaded | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT Preload the "rendered" importmap entryoints (ex: "app.js") (expected behaviour) Simple test with "`app.js`" entrypoint and two imported scripts "`foo.js`" and ... "`Crocodile.js`". **Before** (priority: normal / order: last) ![before](https://github.com/symfony/symfony/assets/1359581/cabde9da-e790-44f5-9ea6-317d994ef57b) **After** (expected behaviour: highest priority) ![after](https://github.com/symfony/symfony/assets/1359581/88a781a1-015a-42bb-9eb6-df581112c21e) (screenshots made with Firefox on macOS) Commits ------- 769b896 [AssetMapper] Fix entrypoint scripts are not preloaded
- Loading branch information
Showing
2 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters