Agreement
Describe the issue
I've been unable to get SugarSS to work with Bud (bud-postcss) despite many attempts and extensive searching. 🤯
This may be more of a documentation issue than an actual bug but since the official docs hint at SugarSS being supported in bud-postcss, I thought it was worth reporting.
What is required to make SugarSS work with Bud and more specifically, with Sage?
Bonus: on the Roots Discourse, there's this unanswered post about SugarSS
Expected Behavior
I expect that SugarSS files (*.sss) to be processed correctly, much like Sass.
Actual Behavior
Running yarn build, I get the error Module parse failed: Unexpected token (1:0)
Steps To Reproduce
- Installed
bud-postcss (yarn add @roots/bud-postcss --dev)
- Created
app.sss and put some simple SugarSS code in it
- In
bud.config.js, added app.sss as an entry point and set app.postcss.setParser('sugarss') and app.postcss.setSyntax('sugarss')
(the above is done from a Sage installation)
I imagine I'm missing something important but I can't figure out what that is. Any pointers would be appreciated and while we're at it, maybe we can improve the documentation :)
version
6.23.3
Logs
No response
Configuration
No response
Relevant .budfiles
No response
Agreement
Describe the issue
I've been unable to get SugarSS to work with Bud (bud-postcss) despite many attempts and extensive searching. 🤯
This may be more of a documentation issue than an actual bug but since the official docs hint at SugarSS being supported in
bud-postcss, I thought it was worth reporting.What is required to make SugarSS work with Bud and more specifically, with Sage?
Bonus: on the Roots Discourse, there's this unanswered post about SugarSS
Expected Behavior
I expect that SugarSS files (*.sss) to be processed correctly, much like Sass.
Actual Behavior
Running
yarn build, I get the errorModule parse failed: Unexpected token (1:0)Steps To Reproduce
bud-postcss(yarn add @roots/bud-postcss --dev)app.sssand put some simple SugarSS code in itbud.config.js, addedapp.sssas an entry point and setapp.postcss.setParser('sugarss')andapp.postcss.setSyntax('sugarss')(the above is done from a Sage installation)
I imagine I'm missing something important but I can't figure out what that is. Any pointers would be appreciated and while we're at it, maybe we can improve the documentation :)
version
6.23.3
Logs
No response
Configuration
No response
Relevant .budfiles
No response