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!
All you need is to set the include path to the src
directory.
sassc -I /path/to/compass-polyfill/src ...
sass -I /path/to/compass-polyfill/src ...
scss -I /path/to/compass-polyfill/src ...
sass.render({
includePaths: [
'/path/to/compass-polyfill/src'
],
...
});
return gulp
...
.pipe(sass({
includePaths: [
'/path/to/compass-polyfill/src'
],
...
}))
...
Compass polyfill will provide mocha unit tests.
To run the tests first do a npm install
and then npm test
.