P
P
pegas2018-08-25 22:15:09
JavaScript
pegas, 2018-08-25 22:15:09

How to get file code using gulp?

We need to get the file line using Gulp. There is a gulp.src method but it returns a promise. I don't want to pull fs module

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2018-08-25
@1PeGaS

Why do you need it? You can use the transform plugin, which parses the code of the file with your function.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question