Project

General

Profile

Actions

Task #96710

closed

Epic #96323: TYPO3 Backend: ES6 Module (ESM) support

Tag importmaps to include configuration for dynamic imports

Added by Benjamin Franzke over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Backend JavaScript
Target version:
Start date:
2022-01-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Dynamic JavaScript imports require their respective importmap
configurations to be loaded, therefore it is now allowed to tag
import configurations in order to be loaded when a certain
dispatcher is added to the current response.

Add tags for currently used dynamic imports.

Note: In the pageRenderer->loadRequireJsModule we currently
transparently load all configurations in backend context,
once we switch all these calls to loadJavaScriptModule(),
we need to pre very explicit about all the required
importmaps. This patch prepares for that.

Actions

Also available in: Atom PDF