title: how to use gulp with azure function Nodejs
body: <p>Use gulp with azure function. Is it possible to use gulp for all azure functionApp?</p>
  
  <pre><code>process.env.NODE_CONFIG_DIR = `${process.cwd()}/config/env`;
  
  import gulp from 'gulp';
  import requireDir from 'require-dir';
  
  requireDir('./lib/tasks');
  
  gulp.task('default', ['update-project', 'run-webpack'], () =&gt; {
    gulp.src('host.json')
      .pipe(gulp.dest('.deploy/'));
  
    const devBuild = process.env.NODE_ENV !== 'production';
  
    if (devBuild) {
      gulp.src('local.settings.json')
        .pipe(gulp.dest('.deploy/'));
    }`enter code here`
  });
  </code></pre>