Skip to content

Relative TypoScript imports break with Bolt #33

Description

@oliverklee

In my site extension, I have this line in my Configuration/TypoScript/setup.typoscript:

@import './config.typoscript'

(I also have more lines like this both in my setup.typoscript as well as my constants.typoscript.)

Without Bolt, the TypoScript from config.typoscript gets loaded fine (as seen in the TS object browser).

With Bolt, the TypoScript from the relative imports does not get loaded, even though TypoScript from setup.typoscript and constants.typoscript does get loaded.

Adding the extension key to the import gets the inclusion to work again:

@import 'EXT:site_maschinenrichtlinie/Configuration/TypoScript/config.typoscript'

This works for me as a workaround. However, still being able to use relative imports still would improve my developer experience.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions