CSS::Sass
Compile .scss and .sass files using libsass
CSS::Sass provides a perl interface to libsass, a fairly complete Sass compiler written in C++. It is currently somewhere around ruby sass 3.2/3.3 feature parity and heading towards 3.4. It can compile .scss and .sass files.
Installation
To install this module type the following:
perl Build.PL
./Build verbose=1
./Build test verbose=1
./Build install verbose=1
On windows you may need to install Strawberry Perl.
Documentation
Before installing:
perldoc lib/CSS/Sass.pm
After installing:
man CSS::Sass
Or view converted markdown version
Dependencies
This module requires these other modules and libraries:
- Module::Build
- Test::More
Command line utility
psass [options] [ path_in | - ] [ path_out | - ]
-v, --version print version
-h, --help print this help
-w, --watch start watchdog mode
-p, --precision precision for float output
-o, --output-file=file output file to write result to
-t, --output-style=style output style [nested|compressed]
-L, --plugin-path=path plugin load path (repeatable)
-I, --include-path=path sass include path (repeatable)
-c, --source-comments enable source debug comments
-e, --source-map-embed embed source-map in mapping url
-s, --source-map-contents include original contents
-m, --source-map-file=file create and write source-map to file
--no-source-map-url omit sourceMappingUrl from output
Copyright And Licence
Copyright © 2013-2014 by David Caldwell
Copyright © 2014-2016 by Marcel Greter
This library is released under the MIT license.