Task #97067

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

Provide ES6 replacement for TYPO3\CMS\Setup\Event\AddJavaScriptModulesEvent::getModules

Added by Benjamin Franzke 4 months ago.

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

0%

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.


Related issues

Blocks TYPO3 Core - Task #97057: Deprecate RequireJS related APIsAcceptedBenjamin Franzke2022-02-27

Actions
#1

Updated by Benjamin Franzke 4 months ago

  • Blocks Task #97057: Deprecate RequireJS related APIs added

Also available in: Atom PDF