To create an Elixir task, we need to call the elixir function in our gulpfile.js file. This function takes a callback with an object as an argument. This object, called mix, exposes all the available methods Elixir provides out of the box. // ... elixir(function(mix) { mix.less('styles.less'); }); If we pass an array of files or a wildcard matching a group of files, all the files will be compiled