Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update the Gulp docs for v4 ... or add to it. #432

Open
blaasvaer opened this issue Nov 23, 2018 · 3 comments
Open

Please update the Gulp docs for v4 ... or add to it. #432

blaasvaer opened this issue Nov 23, 2018 · 3 comments

Comments

@blaasvaer
Copy link

As stated in the header.

@peterramsing
Copy link
Owner

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.

@peterramsing
Copy link
Owner

@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.

@peterramsing
Copy link
Owner

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants