-
Notifications
You must be signed in to change notification settings - Fork 0
Adding a new task
Fulvio Notarstefano edited this page Jun 4, 2019
·
1 revision
To add a new task, simply add a new JavaScript file in the tasks
folder. The name of the file should match the new task name.
You'll likely need to wrap the task logic with:
module.exports = (gulp, plugins, sake) => {
// do your thing here
}
Depending on your goal, you may also need to require before or inside this block other modules with:
const foo = require('baz')