gulp-stylefmt
gulp-stylefmt copied to clipboard
Format and save all files from src (dist = src)
Hi,
I have an existing project with tons of CSS files which need to be cleaned up. How can I format and replace files with a wildcard path in src() ?
Thanks
gulp.task('format-css', function lintCssTask() {
return gulp
.src(`MY_PATH/components/src/**/*.css`)
.pipe(gulpStylefmt())
.pipe(gulp.dest('????'));
});
Same question here.
Ditto
Guys, what you're probably looking for is the stylefmt CLI to do that in one go.
https://github.com/morishitter/stylefmt/blob/master/bin/cli.js