-
Notifications
You must be signed in to change notification settings - Fork 19
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
@modular-css/svelte errors when classes get more descriptive through page #780
Comments
Tried to add a test to reproduce this against Here's the template file:
Here's the regexes it creates:
and
which based on some quick testing I can't get to fail, there must be another component to this that I'm not aware of. |
tanishalfelven
added a commit
to tanishalfelven/modular-css
that referenced
this issue
Oct 15, 2020
When a class is undefined and also more specific than another undefined class a collision occurs. This fixes that.
3 tasks
tivac
pushed a commit
that referenced
this issue
Oct 15, 2020
Fixed by 1ac9af5! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/tivac/modular-css/blob/main/packages/svelte/svelte.js#L207
if you have a class that is similar to a different css class occuring after the original in markup then there is a big explosion.
Fine:
Error:
The text was updated successfully, but these errors were encountered: