Re: [compass] How Convert SASS to SCSS using Compass?

2,574 views
Skip to first unread message

Beau Smith

unread,
Dec 18, 2012, 1:14:50 PM12/18/12
to compas...@googlegroups.com
You're looking for sass-convert. When you install Sass you also get sass-convert.

Usage:
sass-convert yourfile.sass yourfile.scss

Get help:
sass-convert --help


On Thu, Dec 13, 2012 at 1:08 AM, Andri Tanuarto <andrit...@gmail.com> wrote:
Hi I have a project that requires me to convert SASS files to SCSS. Is it possible to do it? If it is possible, is it also possible to convert bundle SASS files to SCSS files? Thank You

--
You received this message because you are subscribed to the Google Groups "Compass" group.
To view this discussion on the web visit https://groups.google.com/d/msg/compass-users/-/fnNiqr8zjeIJ.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.

2la...@ianhobbs.net

unread,
Dec 18, 2012, 6:59:26 PM12/18/12
to compas...@googlegroups.com
Hi As far as i know probably not. But, and this is a big but -  simply changing the extension of CSS files that are output from SASS via Compass will do it. 
SCSS uses the same syntax as CSS. The thing is you'd loose all your mixins and variables etc.
You probably need to look at Textsoap with REGEX operators if you want to maintain the SCSS expressions.
yikes...

Ian
Reply all
Reply to author
Forward
0 new messages