Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Optimize _references.js

$
0
0

Hi,

I use bower for managing front-end references and gulp to copy only necessary files to /wwwroot.

Bower packages reside in /bower_components.

The problem is that VS populates _references.js with duplicate files, for example:

/// <reference path="../bower_components/jquery/dist/jquery.js" />
...
/// <reference path="../wwwroot/js/jquery.js" />

Is there a way to tell _references.js to ignore /bower_components?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>