Answer the question
In order to leave comments, you need to log in
How to leave the working file unchanged when using cssnano?
I'm trying to learn gupl in conjunction with Phpstorm. It is necessary that css is minified and uploaded to the server automatically.
When running the gulpfile.js task
gulp.task('nano ', function() {
return gulp.src('assets/templates/css/styles.css')
.pipe(cssnano())
.pipe(gulp.dest('assets/templates/css/'));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question