0.0.1 • Published 12 years ago

rochelle v0.0.1

Weekly downloads
7
License
-
Repository
github
Last release
12 years ago

rochelle

Compile CSS in a single file using the @import rule

Strange CSS journey from Milan to Minsk

Build Status

What does it do?

It takes a css file and aggregate its @import rules to a single css file that has the same name

Usage

Usage: coffee ./bin/rochelle.coffee FILES [OPTIONS]

Options:
  --minify, -m  If should minify the css  [boolean]  [default: false]

Example

Take these two files :

/* /path/to/main.css */
@import 'import.css'
body {
  background-color:red;
}

and

/* path/to/import.css */
body {
  color:blue;
}

rochelle /path/to/main.css will create /path/to/_main.css

body {
  color:blue;
}

body {
  background-color:red;
}
    

Use as a library

Take a look at the lib