async runTasks(stats) {
        let assets = []

        for (const task of this.mix.tasks) {
            await Promise.resolve(task.run());

            assets.push(...task.assets)
        }

        await Promise.allSettled(assets.map(asset => this.addAsset(asset, stats)));
    }
Execute potentially asynchronous tasks sequentially.

@param stats