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

remove root assignment in stringifier #1495

Merged
merged 1 commit into from Dec 29, 2020
Merged

remove root assignment in stringifier #1495

merged 1 commit into from Dec 29, 2020

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Dec 29, 2020

Fixes #1494

I had a search around your codebase and it doesn't look like anything used Stringifier#root as a property. so i just removed the line. if you'd rather have it renamed, let me know

it was overwriting the root(node) method previously, which was clearly wrong and caused issues with nested roots.

cc @ai

@ai ai merged commit b48a75e into postcss:main Dec 29, 2020
@ai
Copy link
Member

ai commented Dec 29, 2020

Thanks for the deep investigation.

Yeap, it was just a typo, which causes a bug in a rare case.

I will release it a few hours later after lunch.

@43081j 43081j deleted the fix-root branch December 29, 2020 19:49
@43081j
Copy link
Contributor Author

43081j commented Dec 29, 2020

Thanks a lot for the quick turnaround. This'll allow us to use postcss inside web components a lot easier, so I'm sure it'll make plenty of people happy.

@ai
Copy link
Member

ai commented Dec 29, 2020

Do you have Twitter account to mention you in release tweet?

@43081j
Copy link
Contributor Author

43081j commented Dec 29, 2020

Sure, I've been tweeting about this stuff for a few days now myself haha. You can find me at @43081j the same as here

@ai
Copy link
Member

ai commented Dec 29, 2020

Released in 8.2.2

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

Successfully merging this pull request may close these issues.

stringifer has problems with tailwind roots
2 participants