From 2faec6170dda7aa5587ef010ff8a953f03537ff1 Mon Sep 17 00:00:00 2001
From: Kevin Ditscheid <kevin.ditscheid@sgalinski.de>
Date: Wed, 22 Jul 2020 08:28:06 +0200
Subject: [PATCH] [TASK] Use @import instead of INCLUDE_TYPOSCRIPT

---
 ext_localconf.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext_localconf.php b/ext_localconf.php
index 25a665d..7b60204 100644
--- a/ext_localconf.php
+++ b/ext_localconf.php
@@ -28,7 +28,7 @@ call_user_func(
 	function ($extKey) {
 		// common typoscript configuration
 		\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
-			'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $extKey . '/Configuration/TypoScript/Common/setup.typoscript">'
+			'@import "EXT:' . $extKey . '/Configuration/TypoScript/Common/setup.typoscript"'
 		);
 
 		// plugin configurations
@@ -131,7 +131,7 @@ call_user_func(
 		\SGalinski\SgNews\Utility\BackendNewsUtility::registerIcons();
 
 		\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
-		    '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $extKey . '/Configuration/TsConfig/Page/NewContentElementWizard.tsconfig">'
+		    '@import "EXT:' . $extKey . '/Configuration/TsConfig/Page/NewContentElementWizard.tsconfig"'
 		);
 
 		// Add upgrade wizards
-- 
GitLab