how to remove / in from all the path like image src, script src, css href in angular 2 webpack
<p>i am following the webpack reference from angular.io site.</p>

<p><a href="https://angular.io/docs/ts/latest/guide/webpack.html" rel="nofollow">https://angular.io/docs/ts/latest/guide/webpack.html</a></p>

<p>it is working fine, and the output html is below</p>

<pre><code>    &lt;body&gt;
some others are here
&lt;script src="/vendor.63cf4fc3fcc633a1c7bd.js"&gt;&lt;/script&gt;
    &lt;/body&gt;
</code></pre>

<p>problem is this path is not working in cordova android.</p>

<p>working path are ./ else remove the first / of src attribute</p>

<p>Can anyone help me to alter this src using webpack please,</p>

<p>so that the output path will be ,</p>

<pre><code> &lt;script src="vendor.63cf4fc3fcc633a1c7bd.js"&gt;&lt;/script&gt;
</code></pre>

<p>or</p>

<pre><code> &lt;script src="./vendor.63cf4fc3fcc633a1c7bd.js"&gt;&lt;/script&gt;
</code></pre>