Compile CSS in a single file using the @import rule
CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples
lib
test
.gitignore
.npmignore
.travis.yml
Cakefile
README.md
package.json

README.md

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