A
A
artavans2017-10-05 15:40:00
css
artavans, 2017-10-05 15:40:00

Styles are duplicated when compiling LESS to CSS. How can this be fixed?

I compile the project with Galpom, I write styles through LESS and when compiling LESS files into one common.min.css file, all styles are repeated 2 times, how can I fix this?
59d6268f1513d508759277.png,
here is the task:

gulp.task('less', function () {
  return gulp.src('./app/less/**/*.less')
  .pipe(less())
  .pipe(concat('common.css'))
  .pipe(cleanCSS())  
  .pipe(rename({suffix: ".min"}))
  .pipe(gulp.dest('./app/css/'));
});

and imports:
59d627778172d000170081.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question