Skip to content
Snippets Groups Projects
Commit db776340 authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Oliver Bartsch
Browse files

[BUGFIX] Load importmaps for external form backend module scripts

The form migration to ES6 modules in #96568
missed to pre-register importmaps of third
party extensions.
The modules are loaded on initial request
via `import()`, but that requires an importmap
definition for external modules.

The modules are now preloaded in order to make
them available for dynamic imports.
Note that the modules are loaded by the form editor
and manager on initial load anyway, therefore it is
considered "ok" to preload the modules directly.

Resolves: #101373
Releases: main, 12.4
Change-Id: Ie7f5b05223729ffff24c7d76b211d977c9ed25dd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80174


Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent c00f1253
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment