Actions
Task #96326
closedEpic #96323: TYPO3 Backend: ES6 Module (ESM) support
Use ES11 import syntax for dynamic typescript imports
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2021-12-10
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
ECMAScript 2020 (ES11) introduced dynamic imports.
TypeScript offers automatic type checking and resolution
for the dynamic import syntax (when using static strings)
and is able to transpile to require() calls in AMD output mode.
Therefore all occurences where require() is used
directly should be migrated to the import syntax.
Actions