suitcss / preprocessor

A future-facing CSS preprocessor (used by SUIT CSS)
http://suitcss.github.io
MIT License
135 stars 25 forks source link

How use with Gulp? #30

Closed raulghm closed 8 years ago

raulghm commented 8 years ago

Currently I still using this way:

gulp.task('suitcss', ['postcss'], () => {
  suitcss(fs.readFileSync(entryFile.css, 'utf8'), {
    minify: false,
  }).then(function(output) {
    fs.writeFileSync(outputFile.css, output.css);
  });
});

Is possible use with the gulp pipeline streaming, can you provide an example?

simonsmith commented 8 years ago

Hey,

It's on my list to refactor https://github.com/simonsmith/gulp-suitcss to use the latest suitcss preprocessor but PRs welcome in the meantime :)

simonsmith commented 8 years ago

Fixed in 2.0.0