Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module currently does the following:
- Picks all files from the drupal stylesheets/javascript list and offers to preprocess them (based on filetype) to registered preprocessors (such as Sassy or Coffeescript-PHP)
- Caches the files on production servers, with the option to recompile on mtime change
- 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
The module gets access to the list of JS/CSS files added, and picks 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/JS aggregation still works as expected.
Implementing modules:
- Sassy: SASS/SCSS => CSS
- Coffeescript-PHP: Coffeescript => Javascript
Project information
- Module categories: Content Editing Experience, Developer Tools, Media
- 1,290 sites report using this module
- Created by pk.vaish on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.7
released 4 January 2017
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
One bug fix, and one new feature.
Development version: 7.x-1.x-dev updated 4 Jan 2017 at 14:54 UTC