Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

How can I use old style task names with the new gulp task api?

$
0
0

According to https://gulpjs.com/docs/en/api/task the new way to create tasks is not gulp.task("xyz" ...) but instead use exports.build = build;The problem with this approach is, that I can't use old task names like feature:build, feature:watch anymore, because I can only export valid JS identifiers.

Is there any way to achieve this with the new method?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>