A
A
artjerom2016-03-04 02:55:18
css
artjerom, 2016-03-04 02:55:18

How to include comments when compiling gulp files?

gulp removes comments when compiling files, I would like to know how to fix this?
Currently interested in jade and stylus

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Krutilov, 2016-03-04
@krutilov

There are 2 types of comments in jade
// This is how the comment will be compiled
//- This is not how it will be

O
OnYourLips, 2016-03-04
@OnYourLips

It doesn't kill gulp, but the thread handlers themselves.
Customize them.
I think it will be here:
However, in these files, comments have nothing to do. Maybe you better include sourcemaps?
https://www.npmjs.com/package/gulp-stylus

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question