FileNotFoundException: No files found matching "/node_modules/jquery-ui-dist/jquery-ui.min.js" exist in "C:\Users\...\...\...\...\ProjectName\wwwroot\"
Is this the work of the tag helpers? I tried removing MinifyJsFiles() from the pipeline but the error persists.
It appears the problem is caused by the WebOptimizer tag helpers, if I remove them the error goes away. Is there a way to configure them to contentRoot or to use absolute paths?
If i remove the tag helpers then I'll loos cache busting on the bundles.
I have the same trouble. Not sure what can be done to be honest, except to use an alternative way to bust caches such as ETag with a correctly configured web server.
.NET Core 5.0.4 LigerShark.WebOptimizer.Core 3.0.311
I have aproject where I serve static files from both wwwroot and node_modules folders.
For bundling I'm using ContentRoot();
This works as expected
But If I serve a file directly without bundling like so:
I get an error:
Is this the work of the tag helpers? I tried removing MinifyJsFiles() from the pipeline but the error persists.
It appears the problem is caused by the WebOptimizer tag helpers, if I remove them the error goes away. Is there a way to configure them to contentRoot or to use absolute paths?
If i remove the tag helpers then I'll loos cache busting on the bundles.