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?