Skip to content
This repository has been archived by the owner on Dec 27, 2017. It is now read-only.

Latest commit

 

History

History
62 lines (46 loc) · 1.06 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.06 KB

Build Status

Compass polyfill

Are you bored of using compass just for some vendor prefixes? Then compass polyfill is right for you! Compass polyfill provide most compass functions, but will only return good old plain standard conform css code!

Usage

All you need is to set the include path to the src directory.

sassc

sassc -I /path/to/compass-polyfill/src ...

sass

sass -I /path/to/compass-polyfill/src ...

scss

scss -I /path/to/compass-polyfill/src ...

node-sass

sass.render({
    includePaths: [
        '/path/to/compass-polyfill/src'
    ],
    ...
});

gulp-sass

return gulp
    ...
    .pipe(sass({
        includePaths: [
            '/path/to/compass-polyfill/src'
        ],
        ...
    }))
    ...

Tests

Compass polyfill will provide mocha unit tests. To run the tests first do a npm install and then npm test.