How can I move some configuration parameters into the external js file and include it into the Gulpfile.js?
<p>I’d like share my <code>Gulpfile.js</code> through several projects but still be able to customize the process with an external configuration file varying from one project to another.</p>

<p>What options do I have to achieve it? I can’t find it in docs.</p>

<p>Let's say I have such a file with two variables:</p>

<p><strong>my-config.js</strong></p>

<pre><code>var serverRoot = 'app';
var serverPort = 8082;
</code></pre>

<p>I want to include <code>my-config.js</code> into the <code>Gulpfile.js</code> and use these variables in it:</p>

<p><strong>Gulpfile.js</strong></p>

<pre><code>// somehow include my-config.js here...

var
    gutil = require('gulp-util');

gutil.log(serverRoot);
gutil.log(serverPort);
</code></pre>