I use PostCss with Gulp. Postcss plugin - precss. I connect to css files using @import, all included files have a prefix "_" for example "_meida.css". How can you ensure that files with prefix are not copied to the original directory when compiled?

For example, there are the following files:

/style ..style.css .._media.css 

The source folder should be like this:

 /css ..style.css 

Gulp code

  gulp.task('css', function() { var plugins = [ precss(), //cssnext() ]; gulp.src('app/style/**/*.css') .pipe(postcss(plugins)) .pipe(gulp.dest('app/css')); }); 

    0