Skip to content

Using aliases in imported markdown files doesn't work(?) #9

Description

@verlakasalt

Hi,

I'm trying to use custom aliases in imported mdx-files, which doesn't seem to work.

Example: I have an mdx file that imports another mdx file, which also imports another mdx file, and I want to replace parts of the path to the imported file or a component inside that file with an alias. Aliases used in the initial mdx file work as expected, but the same alias doesn't work when it is used in an mdx file the initial file includes.

Docusaurus says: Module not found: Error: Can't resolve '@os.compos/os.features.js' in 'C:\Users(...)

Is this something that should work and I need to do something extra in imported files, or was it just missed when developing this plugin? :)

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions