#99868INCLUDE_TYPOSCRIPT
Description
Hello TYPO3 core team,
when I want to import a .tsconfig with the old method into my sitepackage in the ext_localconf.php file, this is not possible – only the new method works:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(‘@import “EXT:bpsitepackage/Configuration/TsConfig/Page/All.tsconfig”’);
This one doesn’t work:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(’<include_typoscript: source="FILE:EXT:bpsitepackage/Configuration/TsConfig/Page/All.tsconfig">‘);</include_typoscript:>
tested with TYPO3 v12.2