Actions
Task #97067
closedEpic #96323: TYPO3 Backend: ES6 Module (ESM) support
Provide ES6 replacement for TYPO3\CMS\Setup\Event\AddJavaScriptModulesEvent::getModules
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2022-03-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Either support ES6 modules by parsing whether a ES6 or non-ES6 module is provided, a good indicator could be:
$isRequireJsModule = str_starts_with($module, 'TYPO3/CMS/') && !str_ends_with($module, '.js');
Or othwerwise add a new API: getJavaScriptModules
, but maybe the first option would be easier.
Actions