Closed mueller-sebastian closed 1 year ago
If the base configuration of a site contains a subpath, eg
base: 'https://yourdomain-11.ddev.site/newsroom'
and working with https://github.com/sabbelasichon/typo3_encore#working-with-typo3cms-composer-installers-4-or-typo3-12, Encore file pathes in FE are relative and not absolute and therefor not working.
While reading code and issues, I found that $GLOBALS['TYPO3_CONF_VARS']['FE']['additionalAbsRefPrefixDirectories'] would do the trick.
$GLOBALS['TYPO3_CONF_VARS']['FE']['additionalAbsRefPrefixDirectories']
I would suggest adding this information to the README file.
@mueller-sebastian Yes, feel free to open a PR for that feature
If the base configuration of a site contains a subpath, eg
and working with https://github.com/sabbelasichon/typo3_encore#working-with-typo3cms-composer-installers-4-or-typo3-12, Encore file pathes in FE are relative and not absolute and therefor not working.
While reading code and issues, I found that
$GLOBALS['TYPO3_CONF_VARS']['FE']['additionalAbsRefPrefixDirectories']
would do the trick.I would suggest adding this information to the README file.