vironment names=&quot;Development&quot;&gt;
        <strong>&lt;script src=&quot;~/js/views/tasks/index.js&quot;&gt;&lt;/script&gt;</strong>
    &lt;/environment&gt;

    &lt;environment names=&quot;Staging,Production&quot;&gt;
        <strong>&lt;script src=&quot;~/js/views/tasks/index.min.js&quot;&gt;&lt;/script&gt;</strong>
    &lt;/environment&gt;
}</pre>

<p>With this code, our view will use index.js in development and index.min.js (minified version) in production. This is a common approach in ASP.NET 