Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Server-side Sass auto-compiler (minifier)

Explain in Japanese: http://note.openvista.jp/2013/scss-server-side-compiler/

Usage

put the ".htaccess" and "compiler" folder to scss directory like this.

  • css
  • style.scss
  • .htaccess
  • compiler
    • scss.php
    • scss.inc.php
    • cssmin.inc.php

And access sass file with query "min", "compile" (e.g. hoge.scss?min,compile). Action of this code is controled by query, so do nothing when no query specified (raw scss file).

How?

If you access sass file, simply mod_rewites URI to the scss.php . And scss.php compiles & minifies using following library.

Library

  • Compile Sass with scssphp (GPL3/MIT License)
  • Minify with CssMin (MIT License)

License

MIT License

About

Server-side sass compiler (minifier)

Resources

License

Releases

No releases published

Packages

No packages published