Reputation: 2729
I have a page in my MVC application with only one JavaScript file in it. Should I bundle this file or keep it as is?
My current code
@section scripts{
<script src="~/Scripts/Custom/Home/Index.js" type="text/javascript"></script>
}
Upvotes: 0
Views: 21
Reputation: 7866
I would still suggest you put that file through bundling, advantages you get:
Upvotes: 3