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

Version Downloads Date Links
7.x-0.4 tar.gz (10.66 KB) | zip (11.59 KB) 2012-Feb-07 Notes

Development releases

Version Downloads Date Links
7.x-0.x-dev tar.gz (10.66 KB) | zip (11.59 KB) 2012-Feb-08 Notes

Project Information


Maintainers for Prepro

  • richthegeek - 12 commits
    last: 15 weeks ago, first: 20 weeks ago

Issues for Prepro

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here