Gulp process all files in directory
<p>I have css and js files in a directory (and subdirectories). I'm looking into different tools to compress the assets in all the directories. I'm trying to find a way to get gulp to compress all the files in those directories and save the compressed file in the <strong>same</strong> directory and name it with the following convention: <strong>[name].min.css</strong> or <strong>[name].min.js</strong>. So <strong>example.js</strong> would become <strong>example.min.js</strong>.</p>

<p>Is there a way to achieve this?</p>

<p>I've read the following on this:</p>

<p><a href="http://gulpjs.com/plugins/" rel="noreferrer">http://gulpjs.com/plugins/</a></p>

<p><a href="https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md" rel="noreferrer">https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md</a></p>

<p><a href="https://github.com/gulpjs/gulp/blob/master/docs/API.md" rel="noreferrer">https://github.com/gulpjs/gulp/blob/master/docs/API.md</a></p>