-
Notifications
You must be signed in to change notification settings - Fork 18
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
Handle Sass cli options (style, --no-source_map, --embed-sources...) #39
Conversation
a4fd1df
to
227e132
Compare
I reworked that and followed @stof feedback Open to any comment / suggestions :) |
How would you like to advance on this topic ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay!
Yeah, it seems like this one is ready for me, I don't have much to add, though hoped to hear some other opinions on it
I'm reworking this PR (just a bit) to make the options more obvious for everyone, maybe tonight, tomorrow elsewhen. |
So, i reworked how the options are handled in what i personnaly find is more simple to handle.
The 2 option format (php in snake case, CLI in --[no-]dashed) are mapped in the builder I'd just need some help to add some of the missing tests (deps, errors, ...) .. or if you can wait a bit, i will have time in a couple of days. |
Thanks! No rush at all, we can definitely wait 👍 |
That feels OK for me.. open to any feedback! And if anyone wants to check on its side please do, i don't have any big sass project on my radar right now to fully test "live" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Simon!
Thank you for rewriting it! It seems more solid now, so I think it's ready 👍
I have no idea how you'd imagine the documentation so feel free to tell me if what i added is not in the spirit of this Bundle :) |
About the docs - list all the possible options is just fine for me |
Co-authored-by: Victor Bocharsky <[email protected]>
Co-authored-by: Victor Bocharsky <[email protected]>
Hmm something has no worked / i messed my push ...
|
It is ...$this->getBuildOptions(['--watch' => $watch]), I'm not sure if something happened with the git log (possible as i have this bad habit to destroy git histories on a daily basis 🤒 ) or maybe github did not show you the "flatten" changes ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it might be so that I just missed it... or reviewed not full change set. Makes sense to me now! 👍
OK, I think we're completely ready here, thank you for your work on it!
It's been a pleasure... 😄 But don't thank me too soon, we'll see how many complaints/bugs you'll receive haha |
Well, I'm glad you're somewhere around... 😅 |
Update:
the following options are handled
Been playing with this bundle a bit so ... .. is this as you imagined it ?
I just took some options to start the work:
We can implement more after: https://sass-lang.com/documentation/cli/dart-sass/#no-source-map
I tried something else at first, so maybe the DTO is not really usefull
Tell me :)