Actions
Task #96476
closedEpic #96323: TYPO3 Backend: ES6 Module (ESM) support
Separate JavaScriptHandler concerns
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2022-01-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
JavaScriptHandler currently has three execution modes:
- If used as script-scr: Call processItems from text content for: * RequireJS configuration * Generic JavaScriptItems processing
- If used as AMD module: * Generic JavaScriptItems processing
It should be separated into the following three concerns: * JavaScriptItemProcessor (for shared AMD/script-src usage) * JavaScriptItemHandler (handling <script> case only) * RequireJSCOnfigHandler (only managing requirejs config)
Actions