-
Notifications
You must be signed in to change notification settings - Fork 6
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
How make it works with Gulp 4 (and gulp-postcss)? #71
Comments
postcss.config.js module.exports = (ctx) => ({
plugins: {
'postcss-plugin': {...options}
}
}) gulpfile.js export const pcss = (done) => {
return gulp.src(`${pkg.paths.elements}/**/*.pcss`)
.pipe(postcss())
.pipe(gulp.dest('./'));
done();
} Should work out-of-the-box |
I also need to require/import |
You don't need to install anything. |
Ah so just putting the |
Thank you solved :) |
Yep :) |
Problem
Make postcss plugins load from
postcss.config.js
with a Gulp 4 task andgulp-postcss
. Is there a way?Issue [ Code ]
My simply gulp 4 postcss task
Environment
Please provide information about your environment.
The text was updated successfully, but these errors were encountered: