Please update the Gulp docs for v4 ... or add to it.
blaasvaer opened this issue · comments
As stated in the header.
Hey @blaasvaer, sure. I'll take a look at the new Gulp and see what I can do. If you've figured it out you're welcome to advise. Thanks.
@blaasvaer, I build out a gulp 4 project quickly and there doesn't seem to be anything terribly complex about it or too different for that matter. Is there something, in particular, you're having issues it?
As a note, though: how to use LostGrid in one's project could certainly use some more documentation. I'm going to see if I can whip something up but it might not happen right away.
If you're stuck, here's what I did just as a POC.
const postcss = require("gulp-postcss");
const lost = require("lost");
const { src, dest } = require("gulp");
function defaultTask() {
return src("css/*.css")
.pipe(postcss([lost()]))
.pipe(dest("output/"));
}
exports.default = defaultTask;