Posted by pk.vaish on January 6, 2012 at 8:22pm
This module currently does the following:
- Picks all files from the drupal stylesheets list and offers to preprocess them (based on filetype) to registered preprocessors (such as Sassy)
- Caches the files
- Wraps the settings stuff neatly into one page.
- Makes it easy to move between multiple compilers if required (eg Sassy and a Ruby parser link for SASS/SCSS)
How it works
In Drupal 7 the global stylesheets array is considered a renderable element and therefore comes with a variety of possibilities for modification during the rendering process. This module makes use of a #pre_render callback which picks all files from the array based on file syntax (eg .sass) and offers them to registered preprocessor modules (such as Sassy). The output file gets cached and is available on future page requests and thereby doesn't cause any additional performance loss. Drupal Core CSS aggregation still works as expected.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Developer, Media, Utility
- Reported installs: 220 sites currently report using this module. View usage statistics.
- Downloads: 947
- Last modified: January 16, 2012