Skip to content

g4code/compile-compass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compile-compass

Compile-compass is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass via node-sass. It allows you to use compass features and compile .scss files to css at incredible speed.

Install

Install globally

$ npm install -g compile-compass

Usage

Usage: compile-compass [options]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -c, --config [type]  specify the location of the configuration file explicitly
    -w, --watch          compile sass stylesheets to css when they change

examples

$ compile-compass --help
$ compile-compass --version
    
# compile 
$ compile-compass --config path/to/config.json

# watch for changes
$ compile-compass --watch --config path/to/config.json

Config options

css_dir

import_paths

sass_dir

eg

{
  "css_dir": "/path/to/css/dir",
  "import_paths": [
    "/path/to/external/css/imports/dir"
  ],
  "sass_dir": "/path/to/sass/dir"
}

License

(The MIT License) see LICENSE file for details...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published