I have a Blazor Web assembly (wasm and asp core web api) and I've used AdminLte for the admin panel and now I want to reduce the project size.
1- I have many plugins (JS and CSS files) that I don't use them
2- In some CSS files I have a lot of code that I don't them anymore. like some CSS code for a dark mode that I don't use them.
I have 2 questions:
1- How to remove unused files & used code ( 1 & 2 as described ).
2- When I make the output from my code, does Visual Studio remove anused files (CSS & js) from wwwroot or it's my responsibility to do it?