-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
feat: support postcss sugarss #6705
Conversation
Thanks for the PR, IMO the added complexity is ok given how popular SugarSS is. We'll be discussing the feat in our next team meeting. |
@patak-dev any updates on this? |
Sorry, we got a bit backlogged for new features. I hope we can get to it soon. |
@vitalybaev sorry if I ask something obvious, does this pr allow to use |
@ksevelyar I don't know Vue.js well actually and how it resolves types of content from its files. But it seems that the answer is yes - this PR should work with I can test it locally and share the result |
@vitalybaev would you be so kind and rebase this PR? |
@vitalybaev to add a bit more context, the PR looks good to move forward but the team doesn't have experience with sugars. So let's merge it after it is rebased and we can include it in Vite 3.2, we may ping you if there are issues related to sugarss moving forward if that sounds good. Sorry it took us this long to get back to you. |
43b2509
to
44eb7ac
Compare
@patak-dev @Shinigami92 glad to hear that! I've rebased my PR, and it now fails only on |
I need more time since something has changed in Vite itself. Maybe you could help. So, the main idea behind my PR is to trait So, I'm going to deep dive and debug what causes these problems. |
If you want to create a new PR and close this one, please link the new one here, so I can keep track |
@Shinigami92 I believe it's not due to the conflicts or wrong rebase. But I tried to replicate these changes onto the latest What I can confirm:
So, I need to deep dive more. There must be some side effects that break things. 🤯🤯🤯 |
44eb7ac
to
0014ccd
Compare
Oh well, the cause of the problem was updating So, I've updated |
But there is an issue with DX for So it should be noticed in the docs. |
@Shinigami92 @patak-dev Have you found time to take a look at my latest fixes? |
06afbf5
to
351d6e8
Compare
@Shinigami92 I've rebased this PR again, could you please review it when you'll have time |
@patak-dev @Shinigami92 is there anything to be done here? It also still has |
Thanks for your patience @vitalybaev! Let's release this one as part of Vite 3.2 |
Description
Hi, this PR adds support for handling SugarSS - Indent-based CSS syntax for PostCSS.
Additional context
At first, I had taken a look at #2436, but I've chosen a different approach. Instead of providing additional context and use it in
postcss.config.js
, I think it's better to treat.sss
files as regular PostCSS case, but automatically change parser tosugarss
.What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).