I'm working with asp.net core web app and trying to use libmam to manage client-side libs. I'm turn on "Enable Client-Side Libreries on Build" and write some code in libman.json:
{
"version": "1.0",
"defaultProvider": "cdnjs",
"defaultDestination": "wwwroot/lib",
"libraries": [
{
"library": "jquery@3.3.1",
"destination": "wwwroot/lib/jquery/"
}
]
}
Restoring libs works fine if I'm using "Restore Client-Side Libraries". But when I'm trying to build application I'm getting an error:"libman.json : error LIB002: The "jquery@3.3.1" library could not be resolved by the "cdnjs" provider".
How can I solve the problem?