#55264requireJS for frontend in PageRenderer and TypoScript
Description
The class \TYPO3\CMS\Core\Page\PageRenderer, per definition “This class render the HTML of a webpage, usable for BE and FE” has two functions regarding requireJS.
loadRequireJs
loadRequireJsModule
Both are designed just for backend modules.
All paths are set relative from PATH_typo3.
Also it is not possible to include requireJS with TypoScript and add modules.
With distributions in mind, it should be possible to include requireJS with TypoScript, define main module/config and extend with packages(extensions) by PHP.