brunofernandes's avatar

Elixir inside gulp task

Anyone knows if elixir can be used inside a gulp task, for example:

gulp.task('backendVersion', function () {
  elixir(function(mix) {
    mix.version([
      'css/backend/app.css',
      'js/backend/app.js'
    ]);
  });
});

I tried to do it, task runs but nothing happens.

0 likes
6 replies
superone's avatar

why? but i want use mix object in gulp task .

how to do that use mix inside gulp task?

topvillas's avatar

You want to use something that has a dependency inside the the thing it depends on?

Good luck.

Just write a gulp task, it really isn't hard.

Please or to participate in this conversation.