- COPYRIGHT AND LICENSE
Mojolicious::Plugin::AssetPack::Preprocessor::Scss - Preprocessor for .scss files
Mojolicious::Plugin::AssetPack::Preprocessor::Scss is a preprocessor for
.scss files. This module inherite all the functionality from Mojolicious::Plugin::AssetPack::Preprocessor::Sass.
You need either the "sass" executable or the cpan module CSS::Sass to make this module work:
$ sudo apt-get install rubygems $ sudo gem install sass ... $ sudo cpanm CSS::Sass
You can force using the executable by setting the environment variable
ENABLE_LIBSASS_BINDINGS to a false value.
Installation on Ubuntu and Debian:
$ sudo apt-get install rubygems $ sudo gem install compass
This module will try figure out if "compass" is required to process your
*.scss files. This is done with this regexp on the top level sass file:
NOTE! Compass support is experimental and you probably have to set
ENABLE_LIBSASS_BINDINGS to a false value to make it work.
You can disable compass detection by setting the environment variable
MOJO_ASSETPACK_NO_COMPASS to a true value.
$path = $self->executable;
Holds the path to the "sass" executable. Default to just "sass".
Returns true if "executable" points to an actual file.
Returns the checksum for the given
$text, but also checks for any
@import statements and includes those files in the checksum.
This method use "sass" to process
Copyright (C) 2014, Jan Henning Thorsen
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
Jan Henning Thorsen -