keegnotrub / coda-sass-plugin

A plug-in for Panic's Coda 2 that converts scss files into css files.
https://github.com/keegnotrub/coda-sass-plugin
82 stars 9 forks source link

Needs a way to configure output #2

Closed cdCorey closed 10 years ago

cdCorey commented 10 years ago

This is a great concept... However, since it leaves in all spacing, comments, etc., the output is not really suitable for production use (which should really be minified with comments stripped out). Unfortunately until that's addressed I don't see how this is actually very useful; if an alternative Sass compiler has to be run before uploading to a production server, one may as well just use that alternative all the time.

keegnotrub commented 10 years ago

Thanks for the feedback. I'll be adding an output option under a context menu to bring up a set of preferences for the plugin. Was thinking something along the lines of the attached image. Let me know if it seems correct.

screenshot 2014-02-16 08 42 14 screenshot 2014-02-16 08 44 55

cdCorey commented 10 years ago

This sounds great. I'm glad to see this addressed so promptly. I know in Scout.app, which is what I use now, there's an additional dropdown called Environment, with options for Development or Production... I believe this affects whether comments are stripped out. If this can easily be incorporated as well, that would be a nice bonus. I look forward to being able to drop Scout.app. Having Sass compilation automated by Coda will mean less setup for new projects and one less app I have to keep running all the time. Thanks!

keegnotrub commented 10 years ago

Commit 13bf9f33d965b3b6bb7198bdfb9dbf10ef77c4b0 should have added this now. The updated plugin has been added the releases tab. I'll close this issue for now but please reopen it if something doesn't work for you.