Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Orphaned

91415[POC][TASK] Render optimized importmaps

Benjamin Franzke CR 0 V -1 Easy +23 −7 updated 11/03/25, 19:18

Commit message

This is just to showcase how a "good" importmap
would look like.

…assuming a version-specific assets cacheHash is available
(which currently is not)

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/15/91415/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/15/91415/2 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V -1 Blocked
    • core-ci -1 CI

Files 6

Review log 46

  1. Benjamin Franzke uploaded patch set 1 11/03/25, 18:17

  2. Benjamin Franzke marked it work in progress 11/03/25, 18:17

  3. Benjamin Franzke uploaded patch set 2 11/03/25, 18:21

  4. Benjamin Franzke commented on patch set 2 11/03/25, 18:24

    Unresolved

    That means only listing entry points, without listing all subfolders and files in `Public/JavaScript/`: ``` { "imports": { "@typo3/scheduler/": "/typo3/sysext/scheduler/Resources/Public/JavaScript/", "@typo3/indexed-search/": "/typo3/sysext/indexed_search/Resources/Public/JavaScript/", "@typo3/dashboard/": "/typo3/sysext/dashboard/Resources/Public/JavaScript/", } } ``` This is a syntax supported by browsers (which is why our Importmap syntax uses this as a base format), and allows to map a bare prefix to a folder prefix.
  5. core-ci voted on patch set 2 V -1 11/03/25, 18:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88407

  6. core-ci voted on patch set 1 V -1 11/03/25, 19:18 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88406