How to exclusively compile a custom source for OpenLayers 3
<p>I have created a new Source for OpenLayers 3 that works similarly to <em><a href="https://github.com/openlayers/ol3/blob/master/src/ol/source/tilewmssource.js" rel="nofollow">ol.source.ImageWMS</a></em> but with a modified request structure since the remote source is not a WMS.</p>

<p>The new source work as expected when used together with <em>ol-debug.js</em> or if compiled together with the OpenLayers library as a <a href="http://openlayers.org/en/v3.5.0/doc/tutorials/custom-builds.html" rel="nofollow"><em>custom build</em></a>.</p>

<p>But what I want is so exclusively compile my extension and then include it in my project as an extension to OpenLayers.</p>

<p>For example </p>

<pre><code>&lt;script src="ol.js"&gt;&lt;/script&gt;
&lt;script src="imageSpecialSource.js"&gt;&lt;/script&gt;
</code></pre>

<p>I have tried to exclude the some of the library symbol names / patterns under the export section in the json config file. But including the compiled js file will make OpenLayers to throw an error.</p>

<pre><code>Uncaught TypeError: a.cf is not a function
</code></pre>

<p>So, is it possible to compile a custom extension exclusively that can then be included as a separate file?</p>