Sign inSign up

workon/scsscompiler

By workon

Updated about 8 years ago

Sass/Scss globbing simple compiler

Image
0

2.6K

workon/scsscompiler repository overview

Usage:

This work very simply with mounted volumes. suppose you have

  • app/scss/styles.scss and you want compile to the target
  • app/assets/css/styles.css

Exemple with docker:

docker run workon/scsscompiler --watch /scss_in:/css_out -v ./app/scss:/scss_in:ro -v ./app/assets/css:/css_out

  • default entrypoint options :
 -r sass-globbing --cache-location /tmp/sass/

Exemple with docker-compose :

services:
      scsscompiler:
            image: workon/scsscompiler
            volumes:
                - ./app/scss:/scss_in:ro
                - ./app/assets/css:/css_out
            command: --watch /scss_in:/css_out --style compressed
            restart: always

Tag summary

Content type

Image

Digest

Size

332.8 MB

Last updated

about 8 years ago

docker pull workon/scsscompiler