Skip to content

Svemix Can Not Be Used Together With Certain Preprocessors #51

@Acmion

Description

@Acmion

Describe the bug

Svemix does not work with certain preprocessors. For example, enabling MDsveX so that Markdown can be used in component source files will stop Svemix from working.

I am not sure about what causes this. Maybe it is something that is specific to MDsveX and Svemix or maybe it is a more general issue.

The order in which preprocessors and plugins are executed could have some effect on the matter.

Your Example Website or App

https://github.com/Acmion/svemix-mdsvex-bug

Steps to Reproduce the Bug or Issue

See the readme of the linked repo.

Expected behavior

It should be possible to use preprocessors (e.g. MDsveX) and Svemix together.

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Browser: Chrome
  • Version: 99

Additional context

Maybe Svemix can be implemented as a preprocessor rather than a plugin to solve the issue? This should at least let us specify the order, however, I am not sure whether this would fix the issue or not.

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