Project

General

Profile

Actions

Task #96326

closed

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

Use ES11 import syntax for dynamic typescript 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:
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

Also available in: Atom PDF