-
Notifications
You must be signed in to change notification settings - Fork 229
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
maven cli wrapper plugin #660
Comments
There was a Maven plugin for libsass but not for dart-sass, thanks for letting us know, I'll add a link shortly :) |
There is a full proper wrapper now using Dart Sass with Maven or Gradle. |
What's the difference between that and the plugin linked above? |
I am pretty sure the one I posted supports all 3 OS Windows Linux MacOS and knows which you are using. also has a Sass Watch properly integrated. I didn't study the first one in detail to compare the two but the latter emulates was the old lib sass plug-in did almost exactly. |
The first one does as well. I had a quick look at the source code and I think the main differences are: sass-cli-maven-plugin
dart-sass-maven-plugin
Basically one is a thin wrapper around the CLI executable, and the other one is an abstraction on top that hides the actual calls. It looks like the dart-sass plugin was started a bit earlier, so I wouldn't have written another one if I had been aware of it. That being said, I don't like that the latest plugin release is already at least 9 months worth of dart-sass releases out of date. |
That is a good summary that one is a thin CLI wrapper the other is an abstraction so users don't have to know anything about Dart SASS. I do agree the included DART executables is nice for not needing an internet connection but does make waiting for releases a pain. I like the way the FrontEnd NPM plugin works where you say what version you want it it downloads and caches it. Maybe you two plugin developers can work together to make 1 great Maven plugin for Dart SASS. |
This is how the
The cli-plugin already exposes all features of dart-sass, so it's mostly about providing some maven wrappers for auto-complete, and maybe some added documentation in the Readme. Can you create an issue on the repo about what you're actually missing? Many parameters, e.g., |
@Goodwine Can you add the other plugin to the list with a summary of the differences? |
Document the differences between both Maven plugins Fixes #660
Document the differences between both Maven plugins Fixes sass#660
Document the differences between both Maven plugins Fixes sass#660
----- It is inappropriate to include political and offensive content in public code repositories. Public code repositories should be neutral spaces for collaboration and community, free from personal or political views that could alienate or discriminate against others. Political content, especially that which targets or disparages minority groups, can be harmful and divisive. It can make people feel unwelcome and unsafe, and it can create a hostile work environment. Please refrain from adding such content to public code repositories. --- sass#600 sass#601 sass#602 #603 sass#604 sass#605 sass#606 sass#607 sass#608 sass#609 sass#610 sass#611 sass#612 sass#613 sass#614 sass#615 sass#616 sass#617 sass#618 sass#619 sass#620 sass#621 sass#622 #623 sass#624 sass#625 sass#626 sass#627 sass#628 sass#629 sass#630 sass#631 sass#632 sass#633 sass#634 sass#635 sass#636 sass#637 sass#638 sass#639 sass#640 sass#641 sass#642 sass#643 sass#644 sass#645 sass#646 sass#647 sass#648 sass#649 sass#650 sass#651 sass#652 sass#653 sass#654 sass#655 sass#656 sass#657 sass#658 sass#659 sass#660 sass#661 sass#662 sass#663 sass#664 sass#665 sass#666 sass#667 sass#668 sass#669 sass#670 sass#671 sass#672 sass#673 sass#674 sass#675 sass#676 sass#677 sass#678 sass#679 sass#680 sass#681 sass#682 sass#683 sass#684 sass#685 sass#686 sass#687 sass#688 sass#689 sass#690 sass#691 sass#692 sass#693 sass#694 sass#695 sass#696 sass#697 sass#698 sass#698 sass#699
Reading through the documentation I wasn't sure how to best integrate with Maven, so I wrote a small plugin that downloads and calls the CLI:
sass-cli-maven-plugin
Feel free to add it to the docs, or ignore if there is already a better way to do it.
The text was updated successfully, but these errors were encountered: