Actions
Bug #93511
openAssets from f:asset VH do not get concatenated
Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2021-02-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Assets from the f:asset view helpers don't get concatenated with assets from TS. The following setup results in four tags:
Setup¶
TS¶
config.concatenateCss = 1 config.concatenateJs = 1 page.includeCSS.theme = EXT:pizpalue/Resources/Public/Scss/theme-main.scss page.includeJSFooterlibs.pizpalueGeneral = EXT:pizpalue/Resources/Public/JavaScript/Src/jquery.general.js
Fluid¶
<f:asset.css identifier="ppAos" href="EXT:pizpalue/Resources/Public/Contrib/aos/aos.css" media="all" /> <f:asset.script identifier="ppAos" src="EXT:pizpalue/Resources/Public/Contrib/aos/aos.js" />
Resulting tags¶
<link rel="stylesheet" type="text/css" href="/typo3temp/assets/compressed/merged-88a99c8e8d704ebf6ad1e0afe44e4233.css?1613296105" media="all"> <link media="all" href="/typo3conf/ext/pizpalue/Resources/Public/Contrib/aos/aos.css?1600502411" rel="stylesheet" type="text/css" > ... <script src="/typo3temp/assets/compressed/merged-3b027b1d7f1ff7962dd04ef5ab41b576.js?1613296210" type=""></script> <script src="/typo3conf/ext/pizpalue/Resources/Public/Contrib/aos/aos.js?1600502411"></script>
Actions