In .NET Core, referred webpack bundles using asp-src-include. obviously main.js something like main.{hash}.js.
<script type="text/javascript" asp-src-include="~/main*.js"></script>
Worked fine in .NET Core. But in .Net framework 4.5, obviously I can't able to useasp-src-include. So how to overcome this. src attribute not working like asp-src-include
<script type="text/javascript" src="~/main*.js")"></script> //this is not working