A
A
Andrey Berezhnoy2016-01-26 17:18:31
gulp.js
Andrey Berezhnoy, 2016-01-26 17:18:31

How to parse @requires with gulp?

Interested in the ability to build a project on Foundation 6 via gulp.
Individual components have @requries in the comments, how can I parse these lines to include dependent libraries?
For example:

/**
 * Accordion module.
 * @module foundation.accordion
 * @requires foundation.util.keyboard
 * @requires foundation.util.motion
 */

The accordion module depends on two js files.

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