title: Laravel Elixir: How to execute a task only in production mode?
body: <p>I am using a bunch of "console.log" calls for debugging my JS application. However, I'd like to remove these automatically when sending the code to production.</p>
  
  <p>Using a traditional gulpfile, I would use the "gulp-strip-debug" plugin that will be only triggered when I run the "production" main task.</p>
  
  <p>When using Laravel Elixir, though, it's a little bit different. I use the "--production" flag to minimize my assets, but I'd like to execute the strip-debug task afterwards. I could not find how to do that in the Laravel 5.1 documentation.</p>