DEV Community

Discussion on: Managing ASP.NET Core MVC front-end dependencies with npm and webpack (part 1)

 
larswillemsens profile image
Lars Willemsens

So you have site.entry.js, which is loaded from two different pages, but only on one page it throws an error?

Thread Thread
 
wokle profile image
AslamHamdi

Yes. I loaded site.entry.js in _Layout.cshtml. I create new page which render in _Layout.cshtml . This new page throws an error.