Answer the question
In order to leave comments, you need to log in
How to make less file not compile to css?
Hello.
How can I make the .less file not compile to css, for example I create a structure like this:
_variables.less
_mixins.less
_reset.less
styles.less
@import '_variables';
@import '_mixins';
@import '_reset';
_variables.css
_mixins.css
_reset.css
styles.css
styles.css
Answer the question
In order to leave comments, you need to log in
You need to give only one main file ( styles.less
) to the stream. You probably have a mask for the file extension.
gulp.task('styles', function () {
var stream = gulp.src('/dev/sass/style.less')
...
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question