[FEATURE] Support nomodule for JavaScript includes 08/58908/13
authorGuido Schmechel <guido.schmechel@brandung.de>
Fri, 16 Nov 2018 22:42:53 +0000 (23:42 +0100)
committerSusanne Moog <look@susi.dev>
Sat, 9 Nov 2019 12:57:20 +0000 (13:57 +0100)
commit3fa18fab9c84f40cefd6ac59d7e19b40ccccfb5a
treef44ad777d2777f86e558e7321020a930f4cb71e2
parent3fde1b1d2ddd486d365f81774013cf9e28a03b26
[FEATURE] Support nomodule for JavaScript includes

Add the property 'nomodule="nomodule"' to JavaScript files via TypoScript
page.includeJSlibs.<array>.nomodule = 1

This patch affects the TypoScript PAGE properties
* includeJSlibs
* includeJSFooterlibs
* includeJS
* includeJSFooter

Resolves: #86759
Releases: master
Change-Id: I88db40ac973c17148a87504998f1070eba8d74af
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/58908
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Susanne Moog <look@susi.dev>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Susanne Moog <look@susi.dev>
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Classes/Resource/ResourceCompressor.php
typo3/sysext/core/Documentation/Changelog/master/Feature-86759-SupportNomoduleAttributeForJavaScriptIncludes.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php
typo3/sysext/frontend/Classes/Http/RequestHandler.php