Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Less css-preprocessor returns an error and breaks the HMR #76

Open
andresilvasantos opened this issue Jul 26, 2023 · 0 comments
Open

Comments

@andresilvasantos
Copy link

Version: x.x.x

2.4.8

Details

There appears to be an issue when using Less css-preprocessor with Marko single file components.

This following code outputs an error when trying to update it and breaks the HMR:

<div.rect>
  <h1>Hello!</h1>
</div>

style.less {
    .rect {
        background-color: green;
    }
};

Expected Behavior

It should compile without errors.

Actual Behavior

[vite] page reload src/components/app-main/index.marko
[less] Unrecognised input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant